MediaController.Callback.OnPlaybackStateChanged(PlaybackState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Override to handle changes in playback state.
[Android.Runtime.Register("onPlaybackStateChanged", "(Landroid/media/session/PlaybackState;)V", "GetOnPlaybackStateChanged_Landroid_media_session_PlaybackState_Handler")]
public virtual void OnPlaybackStateChanged (Android.Media.Session.PlaybackState? state);
[<Android.Runtime.Register("onPlaybackStateChanged", "(Landroid/media/session/PlaybackState;)V", "GetOnPlaybackStateChanged_Landroid_media_session_PlaybackState_Handler")>]
abstract member OnPlaybackStateChanged : Android.Media.Session.PlaybackState -> unit
override this.OnPlaybackStateChanged : Android.Media.Session.PlaybackState -> unit
Parameters
- state
- PlaybackState
The new playback state of the session
- Attributes
Remarks
Override to handle changes in playback state.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.