AudioManager.UnregisterRemoteController(RemoteController) 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.
Caution
deprecated
Unregisters a RemoteController
, causing it to no longer receive
media metadata and playback state information, and no longer be capable
of controlling playback.
[Android.Runtime.Register("unregisterRemoteController", "(Landroid/media/RemoteController;)V", "GetUnregisterRemoteController_Landroid_media_RemoteController_Handler")]
[System.Obsolete("deprecated")]
public virtual void UnregisterRemoteController (Android.Media.RemoteController? rctlr);
[<Android.Runtime.Register("unregisterRemoteController", "(Landroid/media/RemoteController;)V", "GetUnregisterRemoteController_Landroid_media_RemoteController_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member UnregisterRemoteController : Android.Media.RemoteController -> unit
override this.UnregisterRemoteController : Android.Media.RemoteController -> unit
Parameters
- rctlr
- RemoteController
the object to unregister.
- Attributes
Remarks
Unregisters a RemoteController
, causing it to no longer receive media metadata and playback state information, and no longer be capable of controlling playback.
This member is deprecated. Use MediaSessionManager#removeOnActiveSessionsChangedListener(android.media.session.MediaSessionManager.OnActiveSessionsChangedListener)
instead.
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.