C# Class Solocast.BackgroundTasks.AudioBackgroundTask

Inheritance: IBackgroundTask
ファイルを表示 Open project: Solocast/solocast-clients

Public Methods

Method Description
Run ( IBackgroundTaskInstance taskInstance ) : void

Private Methods

Method Description
Completed ( BackgroundTaskRegistration sender, BackgroundTaskCompletedEventArgs args ) : void
OnButtonPressed ( SystemMediaTransportControls sender, SystemMediaTransportControlsButtonPressedEventArgs args ) : void
OnCanceled ( IBackgroundTaskInstance sender, BackgroundTaskCancellationReason reason ) : void
OnCurrentStateChanged ( MediaPlayer sender, object args ) : void
OnMessageReceivedFromForeground ( object sender, MediaPlayerDataReceivedEventArgs e ) : void
PlayEpisodeAsync ( Episode episode ) : Task
RegisterBackgroundMediaPlayerEvents ( ) : void
RegisterSystemMediaTransportControlsEvents ( ) : void
StartPlayback ( ) : void
UnregisterHandlers ( ) : void
UpdateSystemControls ( Episode episode ) : void

Method Details

Run() public method

public Run ( IBackgroundTaskInstance taskInstance ) : void
taskInstance IBackgroundTaskInstance
return void