The Developer Preview for Android 11 is now available; test it out and share your feedback.

AudioMetadata.Key

public static interface AudioMetadata.Key

android.media.AudioMetadata.Key<T>


Key interface for the map. The presence of this Key interface on an object allows it to be used to reference metadata in the Audio Framework.

Summary

Public methods

abstract String getName()

Returns the internal name of the key.

abstract Class<T> getValueClass()

Returns the class type of the associated value.

Public methods

getName

public abstract String getName ()

Returns the internal name of the key.

Returns
String This value will never be null.

getValueClass

public abstract Class<T> getValueClass ()

Returns the class type of the associated value.

Returns
Class<T> This value will never be null.