MediaController2.ControllerCallback.OnPlaybackActiveChanged 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.
Called when the session's playback activeness is changed.
[Android.Runtime.Register("onPlaybackActiveChanged", "(Landroid/media/MediaController2;Z)V", "GetOnPlaybackActiveChanged_Landroid_media_MediaController2_ZHandler", ApiSince=29)]
public virtual void OnPlaybackActiveChanged (Android.Media.MediaController2 controller, bool playbackActive);
[<Android.Runtime.Register("onPlaybackActiveChanged", "(Landroid/media/MediaController2;Z)V", "GetOnPlaybackActiveChanged_Landroid_media_MediaController2_ZHandler", ApiSince=29)>]
abstract member OnPlaybackActiveChanged : Android.Media.MediaController2 * bool -> unit
override this.OnPlaybackActiveChanged : Android.Media.MediaController2 * bool -> unit
Parameters
- controller
- MediaController2
the controller for this event
- playbackActive
- Boolean
true
if the session's playback is active.
false
otherwise.
- Attributes
Remarks
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.