Android.Media.RemoteController Class
The RemoteController class is used to control media playback, display and update media metadata and playback status, published by applications using the Android.Media.RemoteControlClient class.

See Also: RemoteController Members

Syntax

[Android.Runtime.Register("android/media/RemoteController", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public sealed class RemoteController : Java.Lang.Object

Remarks

The RemoteController class is used to control media playback, display and update media metadata and playback status, published by applications using the Android.Media.RemoteControlClient class.

A RemoteController shall be registered through AudioManager.RegisterRemoteController(RemoteController) in order for the system to send media event updates to the NoType:android/media/RemoteController$OnClientUpdateListener;Href=../../../reference/android/media/RemoteController.OnClientUpdateListener.html listener set in the class constructor. Implement the methods of the interface to receive the information published by the active Android.Media.RemoteControlClient instances.

By default an NoType:android/media/RemoteController$OnClientUpdateListener;Href=../../../reference/android/media/RemoteController.OnClientUpdateListener.html implementation will not receive bitmaps for album art. Use RemoteController.SetArtworkConfiguration(int, System.Int32) to receive images as well.

Registration requires the NoType:android/media/RemoteController$OnClientUpdateListener;Href=../../../reference/android/media/RemoteController.OnClientUpdateListener.html listener to be one of the enabled notification listeners (see Android.Service.Notification.NotificationListenerService).

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0