/// <summary> /// Saves current playing channel to local storage. /// </summary> public void SaveCurrentChannel() { StorageManager.SaveLastChannel(CurrentChannel); }
/// <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(); }
/// <summary> /// Removes saved last time played channel if exists. /// </summary> public void ClearLastChannel() { StorageManager.ClearLastChannel(); }
/// <summary> /// Signs out and remove saved user status if exists. /// </summary> public void Logout() { _status = null; StorageManager.ClearUserStatus(); }