MediaMetadataEditor deprecated

Class of android.media · MediaMetadataEditor.java · Android's reference

public abstract class MediaMetadataEditor

Edits the metadata of a remote control client, by key; apply() sends it.

Extended in the framework by

Fields

public static final int BITMAP_KEY_ARTWORK = 100 source
public static final int RATING_KEY_BY_OTHERS = 101 source
public static final int RATING_KEY_BY_USER = 0x10000001 source
protected boolean mApplied source
protected final HashMap<Integer, Object> values source

Constructors

protected MediaMetadataEditor() empty body source

Methods

public synchronized void clear() source
public synchronized void addEditableKey(int key) source
public synchronized void removeEditableKeys() source
public synchronized int[] getEditableKeys() source
public synchronized MediaMetadataEditor putString(int key, String value) source
public synchronized MediaMetadataEditor putLong(int key, long value) source
public synchronized MediaMetadataEditor putBitmap(int key, Bitmap bitmap) source
public synchronized MediaMetadataEditor putObject(int key, Object value) source
public synchronized long getLong(int key, long defaultValue) source
public synchronized String getString(int key, String defaultValue) source
public synchronized Bitmap getBitmap(int key, Bitmap defaultValue) source
public synchronized Object getObject(int key, Object defaultValue) source
public abstract void apply() source

Made from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.