Created
February 10, 2020 22:07
-
-
Save Pujolsluis/a2ba45ddef71c0261ce4b1697a8b5745 to your computer and use it in GitHub Desktop.
code related to crash stack trace of media manager.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void _mediaManager_StateChanged(object sender, MediaManager.Playback.StateChangedEventArgs e) | |
{ | |
if (_mediaManager.IsBuffering()) AcrPageDialog.ShowLoading(); | |
if (_mediaManager.IsPlaying() || _mediaManager.IsStopped()) AcrPageDialog.HideLoading(); | |
Debug.WriteLine($"Status changed: {System.Enum.GetName(typeof(MediaPlayerState), e?.State)};"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment