Android Guides | Samples

Android.Media.RemoteControlClient.MetadataEditor Class

Class used to modify metadata in a RemoteControlClient object.

See Also: RemoteControlClient+MetadataEditor

Syntax

[Android.Runtime.Register("android/media/RemoteControlClient$MetadataEditor", DoNotGenerateAcw=true)]
[System.Obsolete("This class is obsoleted in this android platform")]
public class RemoteControlClient.MetadataEditor : MediaMetadataEditor

Remarks

Class used to modify metadata in a RemoteControlClient object. Use RemoteControlClient.EditMetadata(Boolean) to create an instance of an editor, on which you set the metadata for the RemoteControlClient instance. Once all the information has been set, use RemoteControlClient+MetadataEditor.Apply to make it the new metadata that should be displayed for the associated client. Once the metadata has been "applied", you cannot reuse this instance of the MetadataEditor.

[Android Documentation]

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14

The members of Android.Media.RemoteControlClient.MetadataEditor are listed below.

See Also: MediaMetadataEditor

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
BitmapKeyArtworkBitmapKey (100). The metadata key for the content artwork / album art.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
Apply()
Associates all the metadata that has been set since the MetadataEditor instance was created with RemoteControlClient.EditMetadata(Boolean), or since RemoteControlClient+MetadataEditor.Clear was called, with the RemoteControlClient.
override
Clear()
Clears all the metadata that has been set since the MetadataEditor instance was created with RemoteControlClient.EditMetadata(Boolean).
PutBitmap(BitmapKey, Bitmap) : RemoteControlClient+MetadataEditor
Sets the album / artwork picture to be displayed on the remote control.
PutLong(MetadataKey, Int64) : RemoteControlClient+MetadataEditor
Adds numerical information to be displayed.
PutString(MetadataKey, String) : RemoteControlClient+MetadataEditor
Adds textual information to be displayed.