Ejemplo n.º 1
0
 /// <summary>
 /// Saves current playing channel to local storage.
 /// </summary>
 public void SaveCurrentChannel()
 {
     StorageManager.SaveLastChannel(CurrentChannel);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Loads last time played channel from local storage.
 /// </summary>
 /// <remarks>
 /// If no saved channel, a default channel will be applied.
 /// </remarks>
 public void LoadLastChannel()
 {
     CurrentChannel = StorageManager.LoadLastChannel();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Removes saved last time played channel if exists.
 /// </summary>
 public void ClearLastChannel()
 {
     StorageManager.ClearLastChannel();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Signs out and remove saved user status if exists.
 /// </summary>
 public void Logout()
 {
     _status = null;
     StorageManager.ClearUserStatus();
 }