Method | Description | |
---|---|---|
MediaNotificationManagerImplementation ( Android.Content.Context appliactionContext, MediaSessionCompat sessionToken, |
||
StartNotification ( IMediaFile mediaFile ) : void | ||
StartNotification ( IMediaFile mediaFile, bool mediaIsPlaying, bool canBeRemoved ) : void |
When we start on the foreground we will present a notification to the user When they press the notification it will take them to the main page so they can control the music
|
|
StopNotifications ( ) : void | ||
UpdateNotifications ( IMediaFile mediaFile, MediaPlayerStatus status ) : void |
Method | Description | |
---|---|---|
AddActionButtons ( bool mediaIsPlaying ) : void | ||
GenerateActionCompat ( int icon, string title, string intentAction ) : Android.Support.V4.App.Android.Support.V7.App.NotificationCompat.Action | ||
SetMetadata ( IMediaFile mediaFile ) : void |
public MediaNotificationManagerImplementation ( Android.Content.Context appliactionContext, MediaSessionCompat sessionToken, |
||
appliactionContext | Android.Content.Context | |
sessionToken | MediaSessionCompat | |
serviceType | ||
return | System |
public StartNotification ( IMediaFile mediaFile ) : void | ||
mediaFile | IMediaFile | |
return | void |
public StartNotification ( IMediaFile mediaFile, bool mediaIsPlaying, bool canBeRemoved ) : void | ||
mediaFile | IMediaFile | |
mediaIsPlaying | bool | |
canBeRemoved | bool | |
return | void |
public UpdateNotifications ( IMediaFile mediaFile, MediaPlayerStatus status ) : void | ||
mediaFile | IMediaFile | |
status | MediaPlayerStatus | |
return | void |