Condividi tramite


AudioManager.RegisterRemoteControlClient(RemoteControlClient) Method

Definition

Caution

deprecated

Registers the remote control client for providing information to display on the remote controls.

[Android.Runtime.Register("registerRemoteControlClient", "(Landroid/media/RemoteControlClient;)V", "GetRegisterRemoteControlClient_Landroid_media_RemoteControlClient_Handler")]
[System.Obsolete("deprecated")]
public virtual void RegisterRemoteControlClient (Android.Media.RemoteControlClient? rcClient);
[<Android.Runtime.Register("registerRemoteControlClient", "(Landroid/media/RemoteControlClient;)V", "GetRegisterRemoteControlClient_Landroid_media_RemoteControlClient_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member RegisterRemoteControlClient : Android.Media.RemoteControlClient -> unit
override this.RegisterRemoteControlClient : Android.Media.RemoteControlClient -> unit

Parameters

rcClient
RemoteControlClient

The remote control client from which remote controls will receive information to display.

Attributes

Remarks

Registers the remote control client for providing information to display on the remote controls.

This member is deprecated. Use MediaSession instead.

Java documentation for android.media.AudioManager.registerRemoteControlClient(android.media.RemoteControlClient).

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

See also