Android Guides | Samples

Android.Media.MediaMetadataEditor Class

An abstract class for editing and storing metadata that can be published by RemoteControlClient.

See Also: MediaMetadataEditor

Syntax

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

Remarks

Requirements

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

The members of Android.Media.MediaMetadataEditor are listed below.

See Also: Object

Protected Constructors

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

Public Fields

const
BitmapKeyArtworkMediaMetadataEditKey (100). The metadata key for the content artwork / album art.
const
RatingKeyByOthersMediaMetadataEditKey (101). The metadata key for the content's average rating, not the user's rating.
const
RatingKeyByUserMediaMetadataEditKey (268435457). The metadata key for the content's user rating.

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

AddEditableKey(MediaMetadataEditKey)
Flags the given key as being editable.
abstract
Apply()
Applies all of the metadata changes that have been set since the MediaMetadataEditor instance was created or since MediaMetadataEditor.Clear was called.
Clear()
Clears all the pending metadata changes set since the MediaMetadataEditor instance was created or since this method was last called.
GetBitmap(MediaMetadataEditKey, Bitmap) : Bitmap
Returns the Bitmap value for the key.
GetEditableKeys() : MediaMetadataEditKey[]
Retrieves the keys flagged as editable.
GetLong(MediaMetadataEditKey, Int64) : Int64
Returns the long value for the key.
GetObject(MediaMetadataEditKey, Object) : Object
Returns an object representation of the value for the key
GetString(MediaMetadataEditKey, String) : String
Returns the String value for the key.
PutBitmap(MediaMetadataEditKey, Bitmap) : MediaMetadataEditor
Adds image.
PutLong(MediaMetadataEditKey, Int64) : MediaMetadataEditor
Adds numerical information.
PutObject(MediaMetadataEditKey, Object) : MediaMetadataEditor
Adds information stored as an instance.
PutString(MediaMetadataEditKey, String) : MediaMetadataEditor
Adds textual information.
RemoveEditableKeys()
Causes all metadata fields to be read-only.