Window.MediaController Property
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.
Gets the MediaController
that was previously set. -or- Sets a MediaController
to send media keys and volume changes to.
public virtual Android.Media.Session.MediaController? MediaController { [Android.Runtime.Register("getMediaController", "()Landroid/media/session/MediaController;", "GetGetMediaControllerHandler")] get; [Android.Runtime.Register("setMediaController", "(Landroid/media/session/MediaController;)V", "GetSetMediaController_Landroid_media_session_MediaController_Handler")] set; }
[<get: Android.Runtime.Register("getMediaController", "()Landroid/media/session/MediaController;", "GetGetMediaControllerHandler")>]
[<set: Android.Runtime.Register("setMediaController", "(Landroid/media/session/MediaController;)V", "GetSetMediaController_Landroid_media_session_MediaController_Handler")>]
member this.MediaController : Android.Media.Session.MediaController with get, set
Property Value
The controller which should receive events.
- Attributes
Remarks
Property getter documentation:
Gets the MediaController
that was previously set.
Java documentation for android.view.Window.getMediaController()
.
Property setter documentation:
Sets a MediaController
to send media keys and volume changes to. If set, this should be preferred for all media keys and volume requests sent to this window.
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.