Property | Type | Description | |
---|---|---|---|
HandleAction | void | ||
InitMediaSession | void | ||
Release | void | ||
UpdateMetadata | void |
Method | Description | |
---|---|---|
MediaSessionManager ( Android.Content.Context appContext, |
||
UpdatePlaybackState ( int state, int position, string errorMessage = "" ) : void |
Updates the state of the player.
|
Method | Description | |
---|---|---|
HandleAction ( string action ) : void | ||
InitMediaSession ( string packageName, MediaServiceBinder binder ) : void | ||
Release ( ) : void | ||
UpdateMetadata ( IMediaFile currentTrack ) : void |
Updates the metadata on the lock screen
|
public MediaSessionManager ( Android.Content.Context appContext, |
||
appContext | Android.Content.Context | |
serviceType | ||
return | System |
public UpdatePlaybackState ( int state, int position, string errorMessage = "" ) : void | ||
state | int | The state. |
position | int | |
errorMessage | string | |
return | void |