# Print output for @column tags ?> AudioMetadata.Key - Android SDK | Android Developers

Most visited

Recently visited

AudioMetadata.Key

public static interface AudioMetadata.Key

android.media.AudioMetadata.Key<T>


Key interface for the AudioMetadata map.

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

Vendors are allowed to implement this Key interface for their debugging or private application use. To avoid name conflicts, vendor key names should be qualified by the vendor company name followed by a dot; for example, "vendorCompany.someVolume".

Summary

Public methods

abstract String getName()

Returns the internal name of the key.

abstract Class<T> getValueClass()

Returns the class type T of the associated value.

Public methods

getName

public abstract String getName ()

Returns the internal name of the key. The name should be unique in the AudioMetadata namespace. Vendors should prefix their keys with the company name followed by a dot.

Returns
String This value cannot be null.

getValueClass

public abstract Class<T> getValueClass ()

Returns the class type T of the associated value. Valid class types for Build.VERSION_CODES.R are Integer.class, Long.class, Float.class, Double.class, String.class.

Returns
Class<T> This value cannot be null.