Android.Media.Session.MediaSession: Method Members

The methods of Android.Media.Session.MediaSession are listed below. For a list of all members, see the MediaSession Members list.

See Also: Inherited members from Java.Lang.Object

Public Methods

Release()
This must be called when an app has finished performing playback.
SendSessionEvent(string, Android.OS.Bundle)
Send a proprietary event to all MediaControllers listening to this Session.
SetCallback(MediaSession.Callback)
Set the callback to receive updates for the MediaSession.
SetCallback(MediaSession.Callback, Android.OS.Handler)
Set the callback to receive updates for the MediaSession.
SetExtras(Android.OS.Bundle)
Set some extras that can be associated with the Android.Media.Session.MediaSession.
SetFlags(MediaSessionFlags)
Set any flags for the session.
SetMediaButtonReceiver(Android.App.PendingIntent)
Set a pending intent for your media button receiver to allow restarting playback after the session has been stopped.
SetMetadata(Android.Media.MediaMetadata)
Update the current metadata.
SetPlaybackState(PlaybackState)
Update the current playback state.
SetPlaybackToLocal(Android.Media.AudioAttributes)
Set the attributes for this session's audio.
SetPlaybackToRemote(Android.Media.VolumeProvider)
Configure this session to use remote volume handling.
SetQueue(IList<MediaSession.QueueItem>)
Documentation for this section has not yet been entered.
SetQueueTitle(Java.Lang.ICharSequence)
Set the title of the play queue.
SetQueueTitle(string)
Documentation for this section has not yet been entered.
SetSessionActivity(Android.App.PendingIntent)
Set an intent for launching UI for this Session.