Added in API level 30

AudioMetadata


class AudioMetadata
kotlin.Any
   ↳ android.media.AudioMetadata

AudioMetadata class is used to manage typed key-value pairs for configuration and capability requests within the Audio Framework.

Summary

Nested classes

A container class for AudioMetadata Format keys.

abstract

Key interface for the AudioMetadata map.

Public methods
static AudioMetadataMap

Creates a AudioMetadataMap suitable for adding keys.

Public methods

createMap

Added in API level 30
static fun createMap(): AudioMetadataMap

Creates a AudioMetadataMap suitable for adding keys.

Return
AudioMetadataMap an empty AudioMetadataMap instance. This value cannot be null.