Aracılığıyla paylaş


AudioManager.UnregisterRemoteController(RemoteController) Method

Definition

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.

Java documentation for android.media.AudioManager.unregisterRemoteController(android.media.RemoteController).

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.

Applies to