Android.Media Namespace

The Media APIs are used to play and, in some cases, record media files.

Classes

Name Description
ApplicationMediaCapabilities

ApplicationMediaCapabilities is an immutable class that encapsulates an application's capabilities for handling newer video codec format and media features.

ApplicationMediaCapabilities.Builder

Builder class for ApplicationMediaCapabilities objects.

ApplicationMediaCapabilities.InterfaceConsts

Exposes inherited parcelable constants for ApplicationMediaCapabilities.

AsyncPlayer

Plays a series of audio URIs, but does all the hard work on another thread so that any slowness with preparing or loading doesn't block the calling thread.

AudioAttributes

A class to encapsulate a collection of attributes describing information about an audio stream.

AudioAttributes.Builder

Builder class for AudioAttributes objects.

AudioAttributes.InterfaceConsts

Exposes inherited parcelable constants for AudioAttributes.

AudioDescriptor

The AudioDescriptor contains the information to describe the audio playback/capture capabilities.

AudioDescriptor.InterfaceConsts

Exposes inherited parcelable constants for AudioDescriptor.

AudioDeviceCallback

AudioDeviceCallback defines the mechanism by which applications can receive notifications of audio device connection and disconnection events.

AudioDeviceInfo

Provides information about an audio device.

AudioFocusRequestClass

A class to encapsulate information about an audio focus request.

AudioFocusRequestClass.Builder

Builder class for AudioFocusRequest objects.

AudioFormat

The AudioFormat class is used to access a number of audio format and channel configuration constants.

AudioFormat.Builder

Builder class for AudioFormat objects.

AudioFormat.InterfaceConsts

Exposes inherited parcelable constants for AudioFormat.

AudioManager

AudioManager provides access to volume and ringer mode control.

AudioManager.AudioFocusChangeEventArgs

Contains the reported change in an audio-focus listener's focus state.

AudioManager.AudioPlaybackCallback

Interface for receiving update notifications about the playback activity on the system.

AudioManager.AudioRecordingCallback

Interface for receiving update notifications about the recording configuration.

AudioManager.CommunicationDeviceChangedEventArgs

Contains the audio device reported by a communication-device change notification.

AudioManager.ModeChangedEventArgs

Contains the audio mode reported by an audio-mode change notification.

AudioManager.PreferredMixerAttributesChangedEventArgs

Contains a preferred-mixer change for a set of playback attributes and an audio device.

AudioMetadata

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

AudioMetadata.Format

A container class for AudioMetadata Format keys.

AudioMixerAttributes

Class to represent the attributes of the audio mixer: its format, which represents by an AudioFormat object and mixer behavior.

AudioMixerAttributes.Builder

Builder class for AudioMixerAttributes objects.

AudioMixerAttributes.InterfaceConsts

Exposes inherited parcelable constants for AudioMixerAttributes.

AudioPlaybackCaptureConfiguration

Configuration for capturing audio played by other apps.

AudioPlaybackCaptureConfiguration.Builder

Builder for creating AudioPlaybackCaptureConfiguration instances.

AudioPlaybackConfiguration

The AudioPlaybackConfiguration class collects the information describing an audio playback session.

AudioPlaybackConfiguration.InterfaceConsts

Exposes inherited parcelable constants for AudioPlaybackConfiguration.

AudioPresentation

The AudioPresentation class encapsulates the information that describes an audio presentation which is available in next generation audio content.

AudioPresentation.Builder

A builder class for creating AudioPresentation objects.

AudioPresentation.InterfaceConsts

Exposes inherited parcelable constants for AudioPresentation.

AudioProfile

An AudioProfile is specific to an audio format and lists supported sampling rates and channel masks for that format.

AudioProfile.InterfaceConsts

Exposes inherited parcelable constants for AudioProfile.

AudioRecord

The AudioRecord class manages the audio resources for Java applications to record audio from the audio input hardware of the platform.

AudioRecord.Builder

Builder class for AudioRecord objects.

AudioRecord.InterfaceConsts

Exposes inherited microphone-direction constants for AudioRecord.

AudioRecord.MarkerReachedEventArgs

Provides data for the MarkerReached event.

AudioRecord.MetricsConstants

Provides key strings for entries in an audio recorder's metrics bundle.

AudioRecord.PeriodicNotificationEventArgs

Provides data for the PeriodicNotification event.

AudioRecord.RoutingChangedEventArgs

Obsolete compatibility container for an audio-recorder reference; it is not used by routing events.

AudioRecordingConfiguration

The AudioRecordingConfiguration class collects the information describing an audio recording session.

AudioRecordingConfiguration.InterfaceConsts

Exposes inherited parcelable constants for AudioRecordingConfiguration.

AudioRoutingOnRoutingChangedEventArgs

Identifies the audio-routing object associated with a route-change notification.

AudioTimestamp

Structure that groups a position in frame units relative to an assumed audio stream, together with the estimated time when that frame enters or leaves the audio processing pipeline on that device.

AudioTimestamp.InterfaceConsts

Exposes inherited parcelable constants for AudioTimestamp.

AudioTrack

The AudioTrack class manages and plays a single audio resource for Java applications.

AudioTrack.Builder

Builder class for AudioTrack objects.

AudioTrack.CodecFormatChangedEventArgs

Contains the track and decoded-format metadata reported by a codec-format change notification.

AudioTrack.MarkerReachedEventArgs

Provides data for the MarkerReached event.

AudioTrack.MetricsConstants

Provides key strings for entries in an audio track's metrics bundle.

AudioTrack.PeriodicNotificationEventArgs

Provides data for the PeriodicNotification event.

AudioTrack.RoutingChangedEventArgs

Obsolete compatibility container for an audio-track reference; it is not used by routing events.

AudioTrack.StreamEventCallback

Abstract class to receive event notifications about the stream playback in offloaded mode.

CamcorderProfile

Retrieves the predefined camcorder profile settings for camcorder applications.

CameraProfile

The CameraProfile class is used to retrieve the pre-defined still image capture (jpeg) quality levels (0-100) used for low, medium, and high quality settings in the Camera application.

DeniedByServerException

Exception thrown when the provisioning server or key server denies a certficate or license for a device.

DrmInitData

Encapsulates initialization data required by a MediaDrm instance.

DrmInitData.SchemeInitData

Scheme initialization data.

EncoderProfiles

Describes a set of encoding profiles for a given media (audio and/or video) profile.

EncoderProfiles.AudioProfile

Configuration for an audio encoder.

EncoderProfiles.VideoProfile

Configuration for a video encoder.

ExifInterface

This is a class for reading and writing Exif tags in various image file formats.

FaceDetector

Identifies the faces of people in a android.graphics.Bitmap graphic object.

FaceDetector.Face

A Face contains all the information identifying the location of a face in a bitmap.

Image

A single complete image buffer to use with a media source such as a MediaCodec or a android.hardware.camera2.CameraDevice CameraDevice.

Image.Plane

A single color plane of image data.

ImageReader

The ImageReader class allows direct application access to image data rendered into a android.view.Surface

ImageReader.Builder

Builder class for ImageReader objects.

ImageReader.ImageAvailableEventArgs

Identifies the image reader that reported a newly available image.

ImageWriter

The ImageWriter class allows an application to produce Image data into a android.view.Surface, and have it be consumed by another component like android.hardware.camera2.CameraDevice CameraDevice.

ImageWriter.Builder

Builder class for ImageWriter objects.

ImageWriter.ImageReleasedEventArgs

Identifies the image writer notified that a downstream consumer released an image.

JetPlayer

JetPlayer provides access to JET content playback and control.

JetPlayer.JetEventEventArgs

Provides data for the JetEvent event.

JetPlayer.JetNumQueuedSegmentUpdateEventArgs

Provides data for the JetNumQueuedSegmentUpdate event.

JetPlayer.JetPauseUpdateEventArgs

Provides data for the JetPauseUpdate event.

JetPlayer.JetUserIdUpdateEventArgs

Provides data for the JetUserIdUpdate event.

LoudnessCodecController

Class for getting recommended loudness parameter updates for audio decoders as they are used to play back media content according to the encoded format and current audio routing.

MediaActionSound

A class for producing sounds that match those produced by various actions taken by the media and camera APIs.

MediaCas

MediaCas can be used to obtain keys for descrambling protected media streams, in conjunction with android.media.MediaDescrambler.

MediaCas.MediaCasEventArgs

Carries a scheme-defined event from a conditional-access system.

MediaCas.PluginDescriptor

Describe a CAS plugin with its CA_system_ID and string name.

MediaCas.PluginStatusUpdateEventArgs

Carries an updated status from a conditional-access plugin.

MediaCas.ResourceLostEventArgs

Identifies the conditional-access object notified of lost session resources.

MediaCas.Session

Class for an open session with the CA system.

MediaCas.SessionEventEventArgs

Carries a conditional-access event for a particular session.

MediaCasException

Base class for MediaCas exceptions

MediaCasException.DeniedByServerException

Exception thrown when the provisioning server or key server denies a license for a device.

MediaCasException.InsufficientResourceException

Exception thrown when an operation on a MediaCas object is attempted and hardware resources are not sufficient to allocate, due to client's lower priority.

MediaCasException.NotProvisionedException

Exception thrown when an operation on a MediaCas object is attempted before it's provisioned successfully.

MediaCasException.ResourceBusyException

Exception thrown when an operation on a MediaCas object is attempted and hardware resources are not available, due to being in use.

MediaCasException.UnsupportedCasException

Exception thrown when an attempt is made to construct a MediaCas object using a CA_system_id that is not supported by the device

MediaCasStateException

Base class for MediaCas runtime exceptions

MediaCodec

MediaCodec class can be used to access low-level media codecs, i.

MediaCodec.BufferInfo

Per buffer metadata includes an offset and size specifying the range of valid data in the associated codec (output) buffer.

MediaCodec.Callback

MediaCodec callback interface.

MediaCodec.CodecException

Thrown when an internal codec error occurs.

MediaCodec.CryptoException

Thrown when a crypto error occurs while queueing a secure input buffer.

MediaCodec.CryptoInfo

Metadata describing the structure of an encrypted input sample.

MediaCodec.CryptoInfo.Pattern

Metadata describing an encryption pattern for the protected bytes in a subsample.

MediaCodec.FirstTunnelFrameReadyEventArgs

Identifies the tunnel-mode codec whose first output frame is decoded and ready for rendering.

MediaCodec.FrameRenderedEventArgs

Contains the codec and timestamps for an output-frame rendering notification.

MediaCodec.IncompatibleWithBlockModelException

Thrown when the codec is configured for block model and an incompatible API is called.

MediaCodec.InvalidBufferFlagsException

Thrown when a buffer is marked with an invalid combination of flags (e.

MediaCodec.LinearBlock

Section of memory that represents a linear block.

MediaCodec.MetricsConstants

Provides bundle-entry keys for codec metrics, including the selected codec, MIME type and encoder or decoder mode.

MediaCodec.OutputFrame

A single output frame and its associated metadata.

MediaCodec.ParameterDescriptor

Contains description of a parameter.

MediaCodec.QueueRequest

Builder-like class for queue requests.

MediaCodecInfo

Provides information about a given media codec available on the device.

MediaCodecInfo.AudioCapabilities

A class that supports querying the audio capabilities of a codec.

MediaCodecInfo.CodecCapabilities

Encapsulates the capabilities of a given codec component.

MediaCodecInfo.CodecProfileLevel

Encapsulates the profiles available for a codec component.

MediaCodecInfo.EncoderCapabilities

A class that supports querying the encoding capabilities of a codec.

MediaCodecInfo.VideoCapabilities

A class that supports querying the video capabilities of a codec.

MediaCodecInfo.VideoCapabilities.PerformancePoint

Video performance points are a set of standard performance points defined by number of pixels, pixel rate and frame rate.

MediaCodecList

Allows you to enumerate available codecs, each specified as a MediaCodecInfo object, find a codec supporting a given format and query the capabilities of a given codec.

MediaCommunicationManager

This API is not generally intended for third party application developers.

MediaController2

This API is not generally intended for third party application developers.

MediaController2.Builder

This API is not generally intended for third party application developers.

MediaController2.ControllerCallback

This API is not generally intended for third party application developers.

MediaCrypto

MediaCrypto class can be used in conjunction with android.media.MediaCodec to decode encrypted media data.

MediaCryptoException

Exception thrown if MediaCrypto object could not be instantiated or if unable to perform an operation on the MediaCrypto object.

MediaDataSource

For supplying media data to the framework.

MediaDescrambler

MediaDescrambler class can be used in conjunction with android.media.MediaCodec and android.media.MediaExtractor to decode media data scrambled by conditional access (CA) systems such as those in the ISO/IEC13818-1.

MediaDescription

A simple set of metadata for a media item suitable for display.

MediaDescription.Builder

Builder for MediaDescription objects.

MediaDescription.InterfaceConsts

Exposes inherited parcelable constants for MediaDescription.

MediaDrm

MediaDrm can be used to obtain keys for decrypting protected media streams, in conjunction with android.media.MediaCrypto.

MediaDrm.CryptoSession

In addition to supporting decryption of DASH Common Encrypted Media, the MediaDrm APIs provide the ability to securely deliver session keys from an operator's session key server to a client device, based on the factory-installed root of trust, and then perform encrypt, decrypt, sign and verify operations with the session key on arbitrary user data.

MediaDrm.ErrorCodes

Error codes that may be returned from MediaDrmStateException#getErrorCode() and MediaCodec.CryptoException#getErrorCode()

MediaDrm.ExpirationUpdateEventArgs

Carries an updated expiration time for a DRM session's keys.

MediaDrm.KeyRequest

Contains the opaque data an app uses to request keys from a license server.

MediaDrm.KeyStatus

Defines the status of a key.

MediaDrm.KeyStatusChangeEventArgs

Carries key-status changes for a DRM session.

MediaDrm.LogMessage

A LogMessage records an event in the MediaDrm framework or vendor plugin.

MediaDrm.MediaDrmEventArgs

Provides data for the MediaDrmEvent event.

MediaDrm.MediaDrmStateException

Thrown when a general failure occurs during a MediaDrm operation.

MediaDrm.MetricsConstants

Definitions for the metrics that are reported via the #getMetrics call.

MediaDrm.PlaybackComponent

This class contains the Drm session ID and log session ID

MediaDrm.ProvisionRequest

Contains the opaque data an app uses to request a certificate from a provisioning server

MediaDrm.SessionException

SessionException is a misnomer because it may occur in methods <b>without</b> a session context.

MediaDrm.SessionLostStateEventArgs

Carries notice that a DRM session's state is no longer valid.

MediaDrmException

Base class for MediaDrm exceptions

MediaDrmResetException

This exception is thrown when the MediaDrm instance has become unusable due to a restart of the mediaserver process.

MediaExtractor

MediaExtractor facilitates extraction of demuxed, typically encoded, media data from a data source.

MediaExtractor.CasInfo

Describes the conditional access system used to scramble a track.

MediaExtractor.MetricsConstants

Provides bundle-entry keys for extractor metrics such as container format, MIME type and track count.

MediaFeature

MediaFeature defines various media features, e.

MediaFeature.HdrType

Defines the type of HDR (high dynamic range) video.

MediaFormat

Encapsulates the information describing the format of media data, be it audio or video, as well as optional feature metadata.

MediaFormat.QpOffsetRect

QpOffsetRect constitutes the metadata required for encoding a region of interest in an image or a video frame.

MediaMetadata

Contains metadata about an item, such as the title, artist, etc.

MediaMetadata.Builder

Use to build MediaMetadata objects.

MediaMetadata.InterfaceConsts

Exposes inherited parcelable constants for MediaMetadata.

MediaMetadataEditor

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

MediaMetadataRetriever

MediaMetadataRetriever class provides a unified interface for retrieving frame and meta data from an input media file.

MediaMetadataRetriever.BitmapParams

Carries a bitmap pixel-format preference and reports the configuration used by the metadata retriever.

MediaMuxer

MediaMuxer facilitates muxing elementary streams.

MediaMuxer.OutputFormat

Defines the output format.

MediaParser

Parses media container formats and extracts contained media samples and metadata.

MediaParser.ParsingException

Thrown when an error occurs while parsing a media stream.

MediaParser.SeekMap

Maps seek positions to SeekPoint SeekPoints in the stream.

MediaParser.SeekPoint

Defines a seek point in a media stream.

MediaParser.TrackData

Holds information associated with a track.

MediaParser.UnrecognizedInputFormatException

Thrown if all parser implementations provided to #create failed to sniff the input content.

MediaPlayer

MediaPlayer class can be used to control playback of audio/video files and streams.

MediaPlayer.BufferingUpdateEventArgs

Provides data for the BufferingUpdate event.

MediaPlayer.DrmInfo

Encapsulates the DRM properties of the source.

MediaPlayer.DrmInfoEventArgs

Carries DRM information discovered for a media player's source.

MediaPlayer.DrmPreparedEventArgs

Carries the reported outcome of DRM preparation by a media player.

MediaPlayer.ErrorEventArgs

Provides data for the Error event.

MediaPlayer.InfoEventArgs

Provides data for the Info event.

MediaPlayer.MediaTimeDiscontinuityEventArgs

Carries a media player's timing correlation after a clock discontinuity.

MediaPlayer.MetricsConstants

Provides bundle-entry keys for player metrics such as video MIME type, decoder identity and frame dimensions.

MediaPlayer.NoDrmSchemeException

Thrown when a DRM method is called before preparing a DRM scheme through prepareDrm().

MediaPlayer.ProvisioningNetworkErrorException

Thrown when the device requires DRM provisioning but the provisioning attempt has failed due to a network error (Internet reachability, timeout, etc.

MediaPlayer.ProvisioningServerErrorException

Thrown when the device requires DRM provisioning but the provisioning attempt has failed due to the provisioning server denying the request.

MediaPlayer.SubtitleDataEventArgs

Carries encoded subtitle data reported by a media player.

MediaPlayer.TimedMetaDataAvailableEventArgs

Carries timed metadata extracted by a media player.

MediaPlayer.TimedTextEventArgs

Provides data for the TimedText event.

MediaPlayer.TrackInfo

Class for MediaPlayer to return each audio/video/subtitle track's metadata.

MediaPlayer.TrackInfo.InterfaceConsts

Exposes inherited parcelable constants for MediaPlayer.TrackInfo.

MediaPlayer.VideoSizeChangedEventArgs

Provides data for the VideoSizeChanged event.

MediaRecorder

Used to record audio and video.

MediaRecorder.AudioEncoder

Defines the audio encoding.

MediaRecorder.AudioSource

Defines the audio source.

MediaRecorder.ErrorEventArgs

Provides data for the Error event.

MediaRecorder.InfoEventArgs

Provides data for the Info event.

MediaRecorder.InterfaceConsts

Exposes inherited microphone-direction constants for MediaRecorder.

MediaRecorder.MetricsConstants

Provides bundle-entry keys for recorder metrics such as encoded-audio bit rate, channel count and sampling rate.

MediaRecorder.OutputFormat

Defines the output format.

MediaRecorder.VideoEncoder

Defines the video encoding.

MediaRecorder.VideoSource

Defines the video source.

MediaRoute2Info

Describes the properties of a route.

MediaRoute2Info.Builder

Builder for MediaRoute2Info media route info.

MediaRoute2Info.InterfaceConsts

Exposes inherited parcelable constants for MediaRoute2Info.

MediaRoute2ProviderService

Base class for media route provider services.

MediaRouter

This API is not recommended for new applications.

MediaRouter.Callback

Interface for receiving events about media routing changes.

MediaRouter.RouteCategory

Definition of a category of routes.

MediaRouter.RouteGroup

Information about a route that consists of multiple other routes in a group.

MediaRouter.RouteInfo

Information about a media route.

MediaRouter.SimpleCallback

Stub implementation of MediaRouter.Callback.

MediaRouter.UserRouteInfo

Information about a route that the application may define and modify.

MediaRouter.VolumeCallback

Interface for receiving events about volume changes.

MediaRouter2

This API is not generally intended for third party application developers.

MediaRouter2.ControllerCallback

Callback for receiving RoutingController updates.

MediaRouter2.RouteCallback

Callback for receiving events about media route discovery.

MediaRouter2.RoutingController

Controls a media routing session.

MediaRouter2.ScanRequest

Represents a set of parameters for scanning requests.

MediaRouter2.ScanRequest.Builder

Builder class for ScanRequest.

MediaRouter2.ScanToken

Represents an active scan request registered in the system.

MediaRouter2.TransferCallback

Callback for receiving events on media transfer.

MediaScannerConnection

MediaScannerConnection provides a way for applications to pass a newly created or downloaded media file to the media scanner service.

MediaScannerConnection.ScanCompletedEventArgs

Contains the scanned file path and the media-database result of a completed scan.

MediaSession2

This API is not generally intended for third party application developers.

MediaSession2.Builder

This API is not generally intended for third party application developers.

MediaSession2.ControllerInfo

This API is not generally intended for third party application developers.

MediaSession2.SessionCallback

This API is not generally intended for third party application developers.

MediaSession2Service

This API is not generally intended for third party application developers.

MediaSession2Service.MediaNotification

This API is not generally intended for third party application developers.

MediaSync

MediaSync class can be used to synchronously play audio and video streams.

MediaSync.Callback

MediaSync callback interface.

MediaSync.ErrorEventArgs

Contains the synchronizer and error codes reported for an asynchronous media-synchronization error.

MediaSyncEvent

The MediaSyncEvent class defines events that can be used to synchronize playback or capture actions between different players and recorders.

MediaSyncEvent.InterfaceConsts

Exposes inherited parcelable constants for MediaSyncEvent.

MediaTimestamp

An immutable object that represents the linear correlation between the media time and the system time.

MicrophoneDirection

Provides the obsolete compatibility container for microphone capture-direction constants.

MicrophoneInfo

Class providing information on a microphone.

MicrophoneInfo.Coordinate3F

Contains three floating-point components used for microphone position or orientation.

NotProvisionedException

Exception thrown when an operation on a MediaDrm object is attempted and the device does not have a certificate.

PlaybackParams

Structure for common playback params.

PlaybackParams.InterfaceConsts

Exposes inherited parcelable constants for PlaybackParams.

Rating

A class to encapsulate rating information used as content metadata.

Rating.InterfaceConsts

Exposes inherited parcelable constants for Rating.

RemoteControlClient

RemoteControlClient enables exposing information meant to be consumed by remote controls capable of displaying metadata, artwork and media transport control buttons.

RemoteControlClient.MetadataEditor

Class used to modify metadata in a RemoteControlClient object.

RemoteControlClient.MetadataUpdateEventArgs

Provides data for the MetadataUpdate event.

RemoteControlClient.PlaybackPositionUpdateEventArgs

Provides data for the PlaybackPositionUpdate event.

RemoteController

The RemoteController class is used to control media playback, display and update media metadata and playback status, published by applications using the RemoteControlClient class.

RemoteController.ClientChangeEventArgs

Reports that previously published remote-client information is no longer valid.

RemoteController.ClientMetadataUpdateEventArgs

Contains the metadata container supplied by a remote-client metadata update.

RemoteController.ClientPlaybackStateUpdateEventArgs

Contains a remote client's playback state, reported position and playback speed.

RemoteController.ClientPlaybackStateUpdateSimpleEventArgs

Contains a remote playback-state update without playback-position or speed information.

RemoteController.ClientTransportControlUpdateEventArgs

Contains the transport-control flags reported by a remote client.

RemoteController.MetadataEditor

A class to read the metadata published by a RemoteControlClient, or send a RemoteControlClient new values for keys that can be edited.

ResourceBusyException

Exception thrown when an operation on a MediaDrm object is attempted and hardware resources are not available, due to being in use.

Ringtone

Ringtone provides a quick method for playing a ringtone, notification, or other similar types of sounds.

RingtoneManager

RingtoneManager provides access to ringtones, notification, and other types of sounds.

RouteDiscoveryPreference

A media route discovery preference describing the features of routes that media router would like to discover and whether to perform active scanning.

RouteDiscoveryPreference.Builder

Builder for RouteDiscoveryPreference.

RouteDiscoveryPreference.InterfaceConsts

Exposes inherited parcelable constants for RouteDiscoveryPreference.

RouteListingPreference

Allows applications to customize the list of routes used for media routing (for example, in the System UI Output Switcher).

RouteListingPreference.Builder

Builder for RouteListingPreference.

RouteListingPreference.InterfaceConsts

Exposes inherited parcelable constants for RouteListingPreference.

RouteListingPreference.Item

Holds preference information for a specific route in a RouteListingPreference.

RouteListingPreference.Item.Builder

Builder for Item.

RouteListingPreference.Item.InterfaceConsts

Exposes inherited parcelable constants for RouteListingPreference.Item.

RoutingSessionInfo

Describes a routing session which is created when a media route is selected.

RoutingSessionInfo.Builder

Builder class for RoutingSessionInfo.

RoutingSessionInfo.InterfaceConsts

Exposes inherited parcelable constants for RoutingSessionInfo.

Session2Command

This API is not generally intended for third party application developers.

Session2Command.InterfaceConsts

Exposes inherited parcelable constants for Session2Command.

Session2Command.Result

This API is not generally intended for third party application developers.

Session2CommandGroup

This API is not generally intended for third party application developers.

Session2CommandGroup.Builder

This API is not generally intended for third party application developers.

Session2CommandGroup.InterfaceConsts

Exposes inherited parcelable constants for Session2CommandGroup.

Session2Token

This API is not generally intended for third party application developers.

Session2Token.InterfaceConsts

Exposes inherited parcelable constants for Session2Token.

SoundPool

The SoundPool class manages and plays audio resources for applications.

SoundPool.Builder

Builder class for SoundPool objects.

SoundPool.LoadCompleteEventArgs

Provides data for the LoadComplete event.

Spatializer

Spatializer provides access to querying capabilities and behavior of sound spatialization on the device.

Spatializer.HeadTrackerAvailableEventArgs

Contains the reported head-tracker availability for a spatializer's output device.

Spatializer.SpatializerAvailableChangedEventArgs

Contains a spatializer's reported ability to process audio for the current device configuration.

Spatializer.SpatializerEnabledChangedEventArgs

Contains the enabled state reported for the spatializer effect.

SubtitleData

Class encapsulating subtitle data, as received through the MediaPlayer.OnSubtitleDataListener interface.

SuggestedDeviceInfo

Allows applications to suggest routes to the system UI (for example, in the System UI Output Switcher).

SuggestedDeviceInfo.Builder

Builder for SuggestedDeviceInfo.

SuggestedDeviceInfo.InterfaceConsts

Exposes inherited parcelable constants for SuggestedDeviceInfo.

SyncParams

Structure for common A/V sync params.

ThumbnailUtils

Utilities for generating visual thumbnails from files.

TimedMetaData

Class that embodies one timed metadata access unit, including

        &lt;ul&gt;
        &lt;li&gt; a time stamp, and &lt;/li&gt;
        &lt;li&gt; raw uninterpreted byte-array extracted directly from the container.
TimedText

Class to hold the timed text's metadata, including: <ul> <li> The characters for rendering</li> <li> The rendering position for the timed text</li> </ul>

ToneGenerator

This class provides methods to play DTMF tones (ITU-T Recommendation Q.

UnsupportedSchemeException

Exception thrown when an attempt is made to construct a MediaDrm object using a crypto scheme UUID that is not supported by the device

VolumeProvider

Handles requests to adjust or set the volume on a session.

VolumeShaper

The VolumeShaper class is used to automatically control audio volume during media playback, allowing simple implementation of transition effects and ducking.

VolumeShaper.Configuration

The VolumeShaper.Configuration class contains curve and duration information.

VolumeShaper.Configuration.Builder

Builder class for a VolumeShaper.Configuration object.

VolumeShaper.Configuration.InterfaceConsts

Exposes inherited parcelable constants for VolumeShaper.Configuration.

VolumeShaper.Operation

The VolumeShaper.Operation class is used to specify operations to the VolumeShaper that affect the volume change.

VolumeShaper.Operation.InterfaceConsts

Exposes inherited parcelable constants for VolumeShaper.Operation.

Interfaces

Name Description
AudioManager.IOnAudioFocusChangeListener

Interface definition for a callback to be invoked when the audio focus of the system is updated.

AudioManager.IOnCommunicationDeviceChangedListener

Listener registered by client to be notified upon communication audio device change.

AudioManager.IOnModeChangedListener

Interface definition of a callback that is notified when the audio mode changes

AudioManager.IOnPreferredMixerAttributesChangedListener

Interface to be notified of changes in the preferred mixer attributes.

AudioMetadata.IKey

Key interface for the AudioMetadata map.

AudioRecord.IOnRecordPositionUpdateListener

Interface definition for a callback to be invoked when an AudioRecord has reached a notification marker set by AudioRecord#setNotificationMarkerPosition(int) or for periodic updates on the progress of the record head, as set by AudioRecord#setPositionNotificationPeriod(int).

AudioRecord.IOnRoutingChangedListener

Defines the interface by which applications can receive notifications of routing changes for the associated AudioRecord.

AudioTrack.IOnCodecFormatChangedListener

Interface definition for a listener for codec format changes.

AudioTrack.IOnPlaybackPositionUpdateListener

Interface definition for a callback to be invoked when the playback head position of an AudioTrack has reached a notification marker or has increased by a certain period.

AudioTrack.IOnRoutingChangedListener

Defines the interface by which applications can receive notifications of routing changes for the associated AudioTrack.

IAudioMetadataMap

AudioMetadataMap is a writeable Map-style interface of AudioMetadata.Key value pairs.

IAudioMetadataReadMap

A read only Map-style interface of AudioMetadata.Key value pairs used for AudioMetadata.

IAudioRecordingMonitor

AudioRecordingMonitor defines an interface implemented by AudioRecord and MediaRecorder allowing applications to install a callback and be notified of changes in the capture path while recoding is active.

IAudioRouting

AudioRouting defines an interface for controlling routing and routing notifications in AudioTrack and AudioRecord objects.

IAudioRoutingOnRoutingChangedListener

Defines the interface by which applications can receive notifications of routing changes for the associated AudioRouting.

ImageReader.IOnImageAvailableListener

Callback interface for being notified that a new image is available.

ImageWriter.IOnImageReleasedListener

ImageWriter callback interface, used to to asynchronously notify the application of various ImageWriter events.

IMediaDrmThrowable

A

IMicrophoneDirection

Interface defining mechanism for controlling the directionality and field width of audio capture.

IVolumeAutomation

VolumeAutomation defines an interface for automatic volume control of AudioTrack and MediaPlayer objects.

JetPlayer.IOnJetEventListener

Handles the notification when the JET engine generates an event.

LoudnessCodecController.IOnLoudnessCodecUpdateListener

Listener used for receiving asynchronous loudness metadata updates.

MediaCas.IEventListener

An interface registered by the caller to #setEventListener to receives scheme-specific notifications from a MediaCas instance.

MediaCodec.IOnFirstTunnelFrameReadyListener

Listener to be called when the first output frame has been decoded and is ready to be rendered for a codec configured for tunnel mode with KEY_AUDIO_SESSION_ID.

MediaCodec.IOnFrameRenderedListener

Listener to be called when an output frame has rendered on the output surface

MediaDrm.IHdcpLevel

This member is deprecated.

MediaDrm.IOnEventListener

Interface definition for a callback to be invoked when a drm event occurs

MediaDrm.IOnExpirationUpdateListener

Interface definition for a callback to be invoked when a drm session expiration update occurs

MediaDrm.IOnKeyStatusChangeListener

Interface definition for a callback to be invoked when the keys in a drm session change states.

MediaDrm.IOnSessionLostStateListener

Interface definition for a callback to be invoked when the session state has been lost and is now invalid

MediaDrm.ISecurityLevel

Security level indicates the robustness of the device's DRM implementation.

MediaParser.IInputReader

Provides input data to MediaParser.

MediaParser.IOutputConsumer

Receives extracted media sample data and metadata from MediaParser.

MediaParser.ISeekableInputReader

InputReader that allows setting the read position.

MediaPlayer.IOnBufferingUpdateListener

Interface definition of a callback to be invoked indicating buffering status of a media resource being streamed over the network.

MediaPlayer.IOnCompletionListener

Interface definition for a callback to be invoked when playback of a media source has completed.

MediaPlayer.IOnDrmConfigHelper

Interface definition of a callback to be invoked when the app can do DRM configuration (get/set properties) before the session is opened.

MediaPlayer.IOnDrmInfoListener

Interface definition of a callback to be invoked when the DRM info becomes available

MediaPlayer.IOnDrmPreparedListener

Interface definition of a callback to notify the app when the DRM is ready for key request/response

MediaPlayer.IOnErrorListener

Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).

MediaPlayer.IOnInfoListener

Interface definition of a callback to be invoked to communicate some info and/or warning about the media or its playback.

MediaPlayer.IOnMediaTimeDiscontinuityListener

Interface definition of a callback to be invoked when discontinuity in the normal progression of the media time is detected.

MediaPlayer.IOnPreparedListener

Interface definition for a callback to be invoked when the media source is ready for playback.

MediaPlayer.IOnSeekCompleteListener

Interface definition of a callback to be invoked indicating the completion of a seek operation.

MediaPlayer.IOnSubtitleDataListener

Interface definition of a callback to be invoked when a player subtitle track has new subtitle data available.

MediaPlayer.IOnTimedMetaDataAvailableListener

Interface definition of a callback to be invoked when a track has timed metadata available.

MediaPlayer.IOnTimedTextListener

Interface definition of a callback to be invoked when a timed text is available for display.

MediaPlayer.IOnVideoSizeChangedListener

Interface definition of a callback to be invoked when the video size is first known or updated

MediaRecorder.IOnErrorListener

Interface definition for a callback to be invoked when an error occurs while recording.

MediaRecorder.IOnInfoListener

Interface definition of a callback to be invoked to communicate some info and/or warning about the recording.

MediaRouter2.IDeviceSuggestionsUpdatesCallback

Callback for receiving events about device suggestions

MediaRouter2.IOnGetControllerHintsListener

A listener interface to send optional app-specific hints when creating a RoutingController.

MediaScannerConnection.IMediaScannerConnectionClient

An interface for notifying clients of MediaScannerConnection when a connection to the MediaScanner service has been established and when the scanning of a file has completed.

MediaScannerConnection.IOnScanCompletedListener

Interface for notifying clients of the result of scanning a requested media file.

MediaSync.IOnErrorListener

Interface definition of a callback to be invoked when there has been an error during an asynchronous operation (other errors will throw exceptions at method call time).

RemoteControlClient.IOnGetPlaybackPositionListener

Interface definition for a callback to be invoked when the media playback position is queried.

RemoteControlClient.IOnMetadataUpdateListener

Interface definition for a callback to be invoked when one of the metadata values has been updated.

RemoteControlClient.IOnPlaybackPositionUpdateListener

Interface definition for a callback to be invoked when the media playback position is requested to be updated.

RemoteController.IOnClientUpdateListener

Interface definition for the callbacks to be invoked whenever media events, metadata and playback status are available.

SoundPool.IOnLoadCompleteListener

Interface definition for a callback to be invoked when all the sounds are loaded.

Spatializer.IOnHeadTrackerAvailableListener

Interface to be notified of changes to the availability of a head tracker on the audio device to be used by the spatializer effect.

Spatializer.IOnSpatializerStateChangedListener

An interface to be notified of changes to the state of the spatializer effect.

Enums

Name Description
Adjust

Enumerates values returned by the Lower, Raise, and Same members and taken as a parameter of several types.

AudioAdjustMode

Selects platform policy, time stretching or pitch-changing resampling when synchronization changes the audio playback rate.

AudioContentType

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioAttributes+Builder.SetContentType member.

AudioDescriptorStandard

Identifies the standard used to interpret an audio descriptor's byte payload.

AudioDeviceType

Identifies the kind of physical or logical audio endpoint, separately from its input or output role.

AudioEncapsulationType

Identifies the transport wrapping required by an encoded-audio profile.

AudioEncoder

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRecorder.SetAudioEncoder member.

AudioFallbackMode

Controls handling of out-of-range audio playback parameters through platform policy, silence or failure.

AudioFlags

Combines additional audio-attribute requests, such as required audibility or hardware audio/video synchronization.

AudioFocus

Identifies audio-focus gain requests and focus-change notifications, including loss and reduced-volume playback.

AudioFocusRequest

Enumerates values returned by several types.

AudioMixerBehavior

Selects default audio mixing or bit-perfect delivery in mixer attributes.

AudioPresentationContentType

Classifies an audio presentation by its main, supplementary or accessibility content.

AudioRecordReadOptions

Selects a blocking recording read or an immediate read of the audio data currently available.

AudioSource

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioRecord..ctor, and F:Android.Media.MediaRecorder.SetAudioSource members.

AudioSpatializationBehavior

Controls whether the platform may spatialize audio described by audio attributes.

AudioSyncSource

Selects the clock reference for media synchronization: automatic selection, the system clock, audio-track time or display synchronization.

AudioTimebase

Selects the monotonic or suspend-inclusive boot-time clock used for an audio timestamp.

AudioTrackDualMonoMode

Selects how separate left and right content in a stereo stream is presented.

AudioTrackEncapsulationMetadataType

Identifies the metadata schema carried by an encapsulated audio-track stream.

AudioTrackEncapsulationMode

Selects whether an audio-track payload includes metadata encapsulation.

AudioTrackMode

Enumerates values returned by the Static, and Stream members and taken as a parameter of several methods of AudioTrack.

AudioTrackPerformanceMode

Selects an audio track's default, low-latency or power-saving performance request, subject to device support.

AudioTrackState

Enumerates values returned by several types.

AudioTrackSupplementaryAudioPlacement

Specifies the supplementary-audio placement carried in audio-track metadata.

AudioUsageKind

Enumerates values returned by several methods of AudioUsageKind.

BitmapKey

Selects content artwork in the legacy remote-control client's bitmap metadata.

BitrateMode

Enumerates values returned by the Cbr, Cq, and Vbr members and taken as a parameter of the F:Android.Media.MediaCodecInfo+EncoderCapabilities.IsBitrateModeSupported member.

CamcorderQuality

Enumerates values returned by several types and taken as a parameter of several methods of CamcorderProfile.

CameraQuality

Selects the low, middle or high camera-specific JPEG quality setting rather than a JPEG quality percentage.

CapturePolicies

Sets playback-audio capture restrictions for other applications and the system.

ChannelConfiguration

Enumerates values returned by several methods of ChannelConfiguration and taken as a parameter of the F:Android.Media.AudioTrack..ctor, and F:Android.Media.AudioTrack..ctor members.

ChannelIn

Enumerates values returned by several types and taken as a parameter of several types.

ChannelOut

Enumerates values returned by several types and taken as a parameter of several types.

ColorRange

Identifies the full or limited numeric range of video color-component values in a media format.

ColorStandard

Identifies the video color chromaticity coordinates and relative luminance factors described by a media format.

ColorTransfer

Identifies the video transfer characteristic, such as a linear, SDR, ST 2084 or HLG curve, in a media format.

DirectPlaybackSupport

Combines the direct-playback modes available for an audio format and its playback attributes.

DrmErrorCode

Classifies failures in the framework's common DRM error-code set.

EncodedSurroundOutput

Controls how encoded-surround formats are reported as available for output.

Encoding

Enumerates values returned by several types and taken as a parameter of several types.

ErrorCode

Identifies legacy DRM session-exception errors, including resource contention.

Euler

Enumerates values returned by the X, Y, and Z members and taken as a parameter of the F:Android.Media.FaceDetector+Face.Pose member.

ExifInterfaceStreamType

Identifies whether an EXIF input stream contains a complete image or only its EXIF data.

FlushFromAccuracy

Selects the required frame-position accuracy of an audio-track partial flush.

FlushWrittenFramesSupport

Reports support for flushing written audio frames from a requested position.

GetDevicesTargets

Selects input devices, output devices or both when enumerating connected audio devices.

HdcpLevel

Describes reported HDCP output-protection levels and special output states.

MasteringIndicationType

Identifies the intended reproduction layout used to master an audio presentation.

MediaActionSoundType

Selects a predefined platform sound for a shutter, completed focus or the start or end of video recording.

MediaCasPluginStatus

Identifies the kind of status change reported by a conditional-access plugin.

MediaCasScramblingMode

Selects the scrambling algorithm and mode requested when opening a conditional-access session.

MediaCasSessionUsage

Identifies the workload requested when opening a conditional-access session.

MediaCodecBufferFlags

Combines codec-buffer metadata such as key-frame, codec-initialization, partial-frame and end-of-stream indicators.

MediaCodecCapabilities

Enumerates values returned by several types.

MediaCodecConfigFlags

Enumerates values returned by the ConfigureFlagEncode, Encode, and None members and taken as a parameter of the F:Android.Media.MediaCodec.Configure member.

MediaCodecCryptoErrorType

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaCodec+CryptoException..ctor member.

MediaCodecCryptoMode

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaCodec+CryptoInfo.Set member.

MediaCodecErrorCode

Identifies codec failures caused by unavailable resources or by reclamation of a codec's resources.

MediaCodecInfoState

Enumerates values returned by several types.

MediaCodecListKind

Enumerates values returned by the AllCodecs, and RegularCodecs members and taken as a parameter of the F:Android.Media.MediaCodecList..ctor member.

MediaCodecProfileLevel

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaCodecInfo+CodecCapabilities.CreateFromProfileLevel member.

MediaCodecProfileType

Enumerates values returned by several types.

MediaCodecSecurityModel

Identifies a codec implementation's reported execution-security model.

MediaDrmEventType

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaDrm+IOnEventListener.OnEvent, and F:Android.Media.MediaDrm+MediaDrmEventArgs..ctor members.

MediaDrmKeyType

Enumerates values returned by several types.

MediaDrmStatusCode

Reports the usability state of an individual DRM key in key-status updates.

MediaError

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaPlayer+ErrorEventArgs..ctor, and F:Android.Media.MediaPlayer+IOnErrorListener.OnError members.

MediaExtractorSampleFlags

Enumerates values returned by several types.

MediaExtractorSeekTo

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaExtractor.SeekTo member.

MediaFormatSecurityModel

Specifies acceptable codec-security models as flags in a media-format request.

MediaFormatType

Identifies the stored value types reported by a media format's value-type query.

MediaInfo

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaPlayer+IOnInfoListener.OnInfo, and F:Android.Media.MediaPlayer+InfoEventArgs..ctor members.

MediaMetadataEditKey

Enumerates values returned by several types and taken as a parameter of several types.

MediaPlaybackType

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRouter+UserRouteInfo.SetPlaybackType member.

MediaPlayerSeekMode

Selects how a seek chooses a frame near the requested time, with modes restricted to synchronization frames or allowing the closest frame.

MediaPlayerVideoScalingModeNotInUse

Enumerates values returned by several types.

MediaRecorderError

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRecorder+ErrorEventArgs..ctor, and F:Android.Media.MediaRecorder+IOnErrorListener.OnError members.

MediaRecorderInfo

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRecorder+IOnInfoListener.OnInfo, and F:Android.Media.MediaRecorder+InfoEventArgs..ctor members.

MediaRoute2InfoConnectionState

Describes a media route's reported connection progress.

MediaRoute2InfoPlaybackVolume

Describes whether a media route exposes adjustable playback volume.

MediaRoute2InfoSuitabilityStatus

Describes whether a route is suitable for media playback and transfer.

MediaRoute2ProviderServiceReason

Reports why a media-route provider request failed.

MediaRoute2Type

Identifies a media route's reported device or group category.

MediaRouterCallbackFlags

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRouter.AddCallback member.

MediaRouterDeviceType

Classifies a legacy media route's receiving device as a television, speaker, Bluetooth device or unknown type.

MediaRouteType

Enumerates values returned by several types and taken as a parameter of several types.

MediaSessionType

Identifies whether a session token represents a media session or a session service.

MediaSyncErrorCode

Identifies asynchronous media-sync failures in audio-track playback or video-surface buffer handling.

MediaSyncEventType

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaSyncEvent.CreateEvent member.

MediaTrackType

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaPlayer.GetSelectedTrack member.

MetadataKey

Selects a source metadata field to query through the media metadata retriever.

MicDirection

Selects the device-relative direction to optimize for microphone capture.

MicrophoneChannelMapping

Describes how a microphone contributes to a recorded audio channel.

MicrophoneDirectionality

Classifies a microphone's reported directional pickup pattern.

MicrophoneLocation

Classifies where a microphone is installed relative to the device body.

Mode

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioManager.GetRouting, and F:Android.Media.AudioManager.SetRouting members.

MuxerOutputType

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaMuxer..ctor member.

OfflineLicenseState

Reports the stored state of an offline DRM license.

Option

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaMetadataRetriever.GetFrameAtTime member.

Orientation

Enumerates values returned by several methods of Orientation and taken as a parameter of the F:Android.Hardware.Camera2.DngCreator.SetOrientation member.

OutputFormat

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRecorder.SetOutputFormat member.

PictureType

Classifies the picture type reported in encoded-video frame statistics.

PlaybackOffload

Reports format-specific support for offloaded audio decoding and optional gapless transitions.

PlayState

Enumerates values returned by several types.

PrepareDrmStatus

Reports the media player's DRM-preparation outcome, including provisioning network and server failures.

RatingStyle

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.Rating.NewStarRating, and F:Android.Media.Rating.NewUnratedRating members.

RecordState

Enumerates values returned by the RecordingState, Recording, and Stopped members.

RecordStatus

Enumerates values returned by several types.

RemoteControlFlags

Combines the transport-control, playback-position and rating capabilities advertised by a legacy remote-control client.

RemoteControlPlayState

Enumerates values returned by several types and taken as a parameter of several types.

RingerMode

Enumerates values returned by several types.

RingtoneColumnIndex

Enumerates values returned by the Id, Title, and Uri members.

RingtoneType

Enumerates values returned by several types and taken as a parameter of several methods of RingtoneManager.

Route

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioManager.SetRouting, and F:Android.Media.AudioManager.SetRouting members.

RouteListingItemSelectionBehavior

Specifies the user-selection behavior of a route-list entry.

RouteListingItemSubtext

Selects the explanatory subtext shown for a route-list entry.

RouteListingPreferenceFlags

Combines route-list indicators for an ongoing session, current-user management and a suggested route.

RoutingSessionInfoTransferReason

Identifies how a routing session's route transfer was initiated.

SampleFlags

Combines media-parser synchronization, encryption, supplemental-data and last-sample indicators.

ScoAudioState

Enumerates values returned by several types.

SecurityLevel

Describes the software or hardware protection used by a DRM session's media-processing stages.

SoundEffect

Enumerates values returned by several methods of SoundEffect and taken as a parameter of the F:Android.Media.AudioManager.PlaySoundEffect, and F:Android.Media.AudioManager.PlaySoundEffect members.

SpatializerImmersiveLevel

Describes the spatialization capability level reported for a device.

State

Enumerates values returned by the State, Initialized, and Uninitialized members.

Stream

Enumerates values returned by several types and taken as a parameter of several types.

SynchronizationPosition

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.RemoteController.SetSynchronizationMode member.

ThumnailExtractOptions

Enumerates values returned by the OptionsRecycleInput, None, and RecycleInput members and taken as a parameter of the F:Android.Media.ThumbnailUtils.ExtractThumbnail, and F:Android.Media.ThumbnailUtils.ExtractThumbnailAsync members.

Tone

Enumerates values returned by several methods of Tone and taken as a parameter of the F:Android.Media.ToneGenerator.StartTone, and F:Android.Media.ToneGenerator.StartTone members.

TrackStatus

Enumerates values returned by several types.

VibrateSetting

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.AudioManager.SetVibrateSetting member.

VibrateType

Selects the ringer or notification category in the legacy vibration-setting APIs.

VideoEncoder

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRecorder.SetVideoEncoder member.

VideoEncodingStatisticsLevel

Selects the per-frame statistics requested from a video encoder.

VideoProfileHdr

Identifies the SDR or HDR format of a video-encoder profile.

VideoProfileYuv

Specifies chroma-plane subsampling in a video-encoder profile.

VideoScalingMode

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaCodec.SetVideoScalingMode, and F:Android.Media.MediaPlayer.SetVideoScalingMode members.

VideoSource

Enumerates values returned by the Camera, Default, and Surface members and taken as a parameter of the F:Android.Media.MediaRecorder.SetVideoSource member.

Volume

Enumerates values returned by several types and taken as a parameter of several types.

VolumeControl

Enumerates values returned by the Absolute, Fixed, and Relative members.

VolumeHandling

Enumerates values returned by several types and taken as a parameter of the F:Android.Media.MediaRouter+UserRouteInfo.SetVolumeHandling member.

VolumeInterpolatorType

Selects stepwise, linear or cubic interpolation between volume-curve control points, including a locally monotonic cubic form.

VolumeNotificationFlags

Enumerates values returned by several methods of VolumeNotificationFlags and taken as a parameter of several methods of AudioManager.

WhiteBalance

Enumerates values returned by the Auto, and Manual members.

WriteMode

Enumerates values returned by the Blocking, and NonBlocking members and taken as a parameter of several methods of AudioTrack.

Delegates

Name Description
LoudnessCodecController.LoudnessCodecUpdateHandler

Customizes loudness parameters before they are sent to a decoder.

MediaRouter2.GetControllerHintsHandler

Supplies optional application hints for a route-provider controller-creation request.

RemoteControlClient.GetPlaybackPositionHandler

Provides the current or last known playback position when the legacy client is queried.