Interface | Description |
---|---|
AudioManager.OnAudioFocusChangeListener |
Interface definition for a callback to be invoked when the audio focus of the system is
updated.
|
AudioManager.OnAudioPortUpdateListener |
Listener registered by client to be notified upon new audio port connections,
disconnections or attributes update.
|
AudioManagerInternal.RingerModeDelegate | |
AudioRecord.OnRecordPositionUpdateListener |
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.OnRoutingChangedListener | Deprecated
users should switch to the general purpose
AudioRouting.OnRoutingChangedListener class instead. |
AudioRouting |
AudioRouting defines an interface for controlling routing and routing notifications in
AudioTrack and AudioRecord objects.
|
AudioRouting.OnRoutingChangedListener |
Defines the interface by which applications can receive notifications of routing
changes for the associated
AudioRouting . |
AudioSystem.AudioRecordingCallback |
Handles events from the audio policy manager about recording events
|
AudioSystem.DynamicPolicyCallback |
Handles events from the audio policy manager about dynamic audio policies
|
AudioSystem.ErrorCallback | |
AudioTrack.OnPlaybackPositionUpdateListener |
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.OnRoutingChangedListener | Deprecated
users should switch to the general purpose
AudioRouting.OnRoutingChangedListener class instead. |
ImageReader.OnImageAvailableListener |
Callback interface for being notified that a new image is available.
|
ImageWriter.OnImageReleasedListener |
ImageWriter callback interface, used to to asynchronously notify the
application of various ImageWriter events.
|
JetPlayer.OnJetEventListener |
Handles the notification when the JET engine generates an event.
|
MediaCodec.OnFrameRenderedListener |
Listener to be called when an output frame has rendered on the output surface
|
MediaDrm.OnEventListener |
Interface definition for a callback to be invoked when a drm event
occurs
|
MediaDrm.OnExpirationUpdateListener |
Interface definition for a callback to be invoked when a drm session
expiration update occurs
|
MediaDrm.OnKeyStatusChangeListener |
Interface definition for a callback to be invoked when the keys in a drm
session change states.
|
MediaPlayer.OnBufferingUpdateListener |
Interface definition of a callback to be invoked indicating buffering
status of a media resource being streamed over the network.
|
MediaPlayer.OnCompletionListener |
Interface definition for a callback to be invoked when playback of
a media source has completed.
|
MediaPlayer.OnErrorListener |
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.OnInfoListener |
Interface definition of a callback to be invoked to communicate some
info and/or warning about the media or its playback.
|
MediaPlayer.OnPreparedListener |
Interface definition for a callback to be invoked when the media
source is ready for playback.
|
MediaPlayer.OnSeekCompleteListener |
Interface definition of a callback to be invoked indicating
the completion of a seek operation.
|
MediaPlayer.OnSubtitleDataListener |
Interface definition of a callback to be invoked when a
track has data available.
|
MediaPlayer.OnTimedMetaDataAvailableListener |
Interface definition of a callback to be invoked when a
track has timed metadata available.
|
MediaPlayer.OnTimedTextListener |
Interface definition of a callback to be invoked when a
timed text is available for display.
|
MediaPlayer.OnVideoSizeChangedListener |
Interface definition of a callback to be invoked when the
video size is first known or updated
|
MediaRecorder.OnErrorListener |
Interface definition for a callback to be invoked when an error
occurs while recording.
|
MediaRecorder.OnInfoListener |
Interface definition for a callback to be invoked when an error
occurs while recording.
|
MediaScannerClient | |
MediaScannerConnection.MediaScannerConnectionClient |
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.OnScanCompletedListener |
Interface for notifying clients of the result of scanning a
requested media file.
|
MediaSync.OnErrorListener |
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).
|
MediaTimeProvider | |
MediaTimeProvider.OnMediaTimeListener | |
RemoteControlClient.OnGetPlaybackPositionListener |
Interface definition for a callback to be invoked when the media playback position is
queried.
|
RemoteControlClient.OnMetadataUpdateListener |
Interface definition for a callback to be invoked when one of the metadata values has
been updated.
|
RemoteControlClient.OnPlaybackPositionUpdateListener |
Interface definition for a callback to be invoked when the media playback position is
requested to be updated.
|
RemoteController.OnClientUpdateListener |
Interface definition for the callbacks to be invoked whenever media events, metadata
and playback status are available.
|
RemoteDisplay.Listener |
Listener invoked when the remote display connection changes state.
|
SoundPool.OnLoadCompleteListener | |
SubtitleController.Anchor |
Subtitle anchor, an object that is able to display a subtitle renderer,
e.g. a VideoView.
|
SubtitleController.Listener | |
SubtitleTrack.RenderingWidget |
Interface for rendering subtitles onto a Canvas.
|
SubtitleTrack.RenderingWidget.OnChangedListener |
Callback used to send updates about changes to rendering data.
|
Class | Description |
---|---|
AmrInputStream |
AmrInputStream
|
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. |
AudioDeviceCallback |
AudioDeviceCallback defines the mechanism by which applications can receive notifications
of audio device connection and disconnection events.
|
AudioDeviceInfo |
Class to provide information about the audio devices.
|
AudioDevicePort |
The AudioDevicePort is a specialized type of AudioPort
describing an input (e.g microphone) or output device (e.g speaker)
of the system.
|
AudioDevicePortConfig |
An AudioDevicePortConfig describes a possible configuration of an output or input device
(speaker, headphone, microphone ...).
|
AudioFocusInfo | |
AudioFormat |
The
AudioFormat class is used to access a number of audio format and
channel configuration constants. |
AudioFormat.Builder |
Builder class for
AudioFormat objects. |
AudioGain |
The AudioGain describes a gain controller.
|
AudioGainConfig |
The AudioGainConfig is used by APIs setting or getting values on a given gain
controller.
|
AudioManager |
AudioManager provides access to volume and ringer mode control.
|
AudioManager.AudioRecordingCallback |
Interface for receiving update notifications about the recording configuration.
|
AudioManagerInternal |
Class for system services to access extra AudioManager functionality.
|
AudioMixPort |
The AudioMixPort is a specialized type of AudioPort
describing an audio mix or stream at an input or output stream of the audio
framework.
|
AudioMixPortConfig |
An AudioMixPortConfig describes a possible configuration of an output or input mixer.
|
AudioPatch |
An AudioPatch describes a connection between audio sources and audio sinks.
|
AudioPort |
An audio port is a node of the audio framework or hardware that can be connected to or
disconnect from another audio node to create a specific audio routing configuration.
|
AudioPortConfig |
An AudioPortConfig contains a possible configuration of an audio port chosen
among all possible attributes described by an AudioPort.
|
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. |
AudioRecordingConfiguration |
The AudioRecordingConfiguration class collects the information describing an audio recording
session.
|
AudioRoutesInfo |
Information available from AudioService about the current routes.
|
AudioSystem | |
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.
|
AudioTrack |
The AudioTrack class manages and plays a single audio resource for Java applications.
|
AudioTrack.Builder |
Builder class for
AudioTrack objects. |
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.
|
Cea708CaptionRenderer | |
ClosedCaptionRenderer | |
DecoderCapabilities |
The DecoderCapabilities class is used to retrieve the types of the
video and audio decoder(s) supported on a specific Android platform.
|
DrmInitData |
Encapsulates initialization data required by a
MediaDrm instance. |
DrmInitData.SchemeInitData |
Scheme initialization data.
|
EncoderCapabilities |
The EncoderCapabilities class is used to retrieve the
capabilities for different video and audio
encoders supported on a specific Android platform.
|
EncoderCapabilities.AudioEncoderCap |
The AudioEncoderCap class represents an audio encoder's
parameter range in:
Bit rate: the compressed output bit rate in bits per second;
Sample rate: the sampling rate used for recording the audio in samples per second;
Number of channels: the number of channels the audio is recorded.
|
EncoderCapabilities.VideoEncoderCap |
The VideoEncoderCap class represents a video encoder's
supported parameter range in:
Resolution: the frame size (width/height) in pixels;
Bit rate: the compressed output bit rate in bits per second;
Frame rate: the output number of frames per second.
|
ExifInterface |
This is a class for reading and writing Exif tags in a JPEG file or a RAW image file.
|
FaceDetector |
Identifies the faces of people in a
Bitmap graphic object. |
Image |
A single complete image buffer to use with a media source such as a
MediaCodec or a
CameraDevice . |
Image.Plane |
A single color plane of image data.
|
ImageReader |
The ImageReader class allows direct application access to image data
rendered into a
Surface
Several Android media API classes accept Surface objects as targets to
render to, including MediaPlayer , MediaCodec ,
CameraDevice , ImageWriter and
RenderScript Allocations . |
ImageWriter |
The ImageWriter class allows an application to produce Image data into a
Surface , and have it be consumed by another component
like CameraDevice . |
JetPlayer |
JetPlayer provides access to JET content playback and control.
|
MediaActionSound |
A class for producing sounds that match those produced by various actions
taken by the media and camera APIs.
|
MediaCodec |
MediaCodec class can be used to access low-level media codecs, i.e. encoder/decoder components.
|
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.CryptoInfo |
Metadata describing the structure of a (at least partially) encrypted
input sample.
|
MediaCodec.CryptoInfo.Pattern |
Metadata describing an encryption pattern for the protected bytes in
a subsample.
|
MediaCodec.MediaImage | |
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.
|
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. |
MediaCrypto |
MediaCrypto class can be used in conjunction with
MediaCodec
to decode encrypted media data. |
MediaDataSource |
For supplying media data to the framework.
|
MediaDescription |
A simple set of metadata for a media item suitable for display.
|
MediaDescription.Builder |
Builder for
MediaDescription objects. |
MediaDrm |
MediaDrm can be used to obtain keys for decrypting protected media streams, in
conjunction with
MediaCrypto . |
MediaDrm.Certificate |
Contains the wrapped private key and public certificate data associated
with a certificate.
|
MediaDrm.CertificateRequest |
Contains the opaque data an app uses to request a certificate from a provisioning
server
|
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.ProvisionRequest |
Contains the opaque data an app uses to request a certificate from a provisioning
server
|
MediaExtractor |
MediaExtractor facilitates extraction of demuxed, typically encoded, media data
from a data source.
|
MediaFile |
MediaScanner helper class.
|
MediaFile.MediaFileType | |
MediaFormat |
Encapsulates the information describing the format of media data,
be it audio or video.
|
MediaHTTPConnection | |
MediaHTTPService | |
MediaInserter |
A MediaScanner helper class which enables us to do lazy insertion on the
given provider.
|
MediaMetadata |
Contains metadata about an item, such as the title, artist, etc.
|
MediaMetadata.Builder |
Use to build MediaMetadata objects.
|
MediaMetadataEditor | Deprecated
Use
MediaMetadata instead together with MediaSession . |
MediaMetadataRetriever |
MediaMetadataRetriever class provides a unified interface for retrieving
frame and meta data from an input media file.
|
MediaMuxer |
MediaMuxer facilitates muxing elementary streams.
|
MediaMuxer.OutputFormat |
Defines the output format.
|
MediaPlayer |
MediaPlayer class can be used to control playback
of audio/video files and streams.
|
MediaPlayer.TrackInfo |
Class for MediaPlayer to return each audio/video/subtitle track's metadata.
|
MediaRecorder |
Used to record audio and video.
|
MediaRouter |
MediaRouter allows applications to control the routing of media channels
and streams from the current device to external speakers and destination devices.
|
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.
|
MediaRouterClientState |
Information available from MediaRouterService about the state perceived by
a particular client and the routes that are available to it.
|
MediaRouterClientState.RouteInfo | |
MediaScanner |
Internal service helper that no-one should use directly.
|
MediaScannerConnection |
MediaScannerConnection provides a way for applications to pass a
newly created or downloaded media file to the media scanner service.
|
MediaSync |
MediaSync class can be used to synchronously playback audio and video streams.
|
MediaSync.Callback |
MediaSync callback interface.
|
MediaSyncEvent |
The MediaSyncEvent class defines events that can be used to synchronize playback or capture
actions between different players and recorders.
|
MediaTimestamp |
An immutable object that represents the linear correlation between the media time
and the system time.
|
Metadata | Deprecated
Use
MediaMetadata . |
MiniThumbFile |
This class handles the mini-thumb file.
|
PlaybackParams |
Structure for common playback params.
|
PlayerBase |
Class to encapsulate a number of common player operations:
- AppOps for OP_PLAY_AUDIO
- more to come (routing, transport control)
|
Rating |
A class to encapsulate rating information used as content metadata.
|
RemoteControlClient | Deprecated
Use
MediaSession instead. |
RemoteController | Deprecated
Use
MediaController instead. |
RemoteDisplay |
Listens for Wifi remote display connections managed by the media server.
|
RemoteDisplayState |
Information available from IRemoteDisplayProvider about available remote displays.
|
RemoteDisplayState.RemoteDisplayInfo | |
ResampleInputStream |
ResampleInputStream
|
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.
|
SoundPool |
The SoundPool class manages and plays audio resources for applications.
|
SoundPool.Builder |
Builder class for
SoundPool objects. |
SRTRenderer | |
SubtitleController |
The subtitle controller provides the architecture to display subtitles for a
media source.
|
SubtitleController.Renderer |
Interface for supporting a single or multiple subtitle types in
MediaPlayer . |
SubtitleData | |
SubtitleTrack |
A subtitle track abstract base class that is responsible for parsing and displaying
an instance of a particular type of subtitle.
|
SubtitleTrack.Cue | |
SyncParams |
Structure for common A/V sync params.
|
ThumbnailUtils |
Thumbnail generation routines for media provider.
|
TimedMetaData |
Class that embodies one timed metadata access unit, including
a time stamp, and
raw uninterpreted byte-array extracted directly from the container.
|
TimedText |
Class to hold the timed text's metadata, including:
The characters for rendering
The rendering position for the timed text
To render the timed text, applications need to do the following:
Implement the
MediaPlayer.OnTimedTextListener interface
Register the MediaPlayer.OnTimedTextListener callback on a MediaPlayer object that is used for playback
When a onTimedText callback is received, do the following:
call TimedText.getText() to get the characters for rendering
call TimedText.getBounds() to get the text rendering area/region
|
TimedText.CharPos |
Helper class to hold the start char offset and end char offset
for Blinking Text or Highlight Text. endChar is the end offset
of the text (startChar + number of characters to be highlighted
or blinked).
|
TimedText.Font |
Helper class to hold the font ID and name.
|
TimedText.HyperText |
Helper class to hold the hyper text information.
|
TimedText.Justification |
Helper class to hold the justification for text display in the text box.
|
TimedText.Karaoke |
Helper class to hold the karaoke information.
|
TimedText.Style |
Helper class to hold the style information to display the text.
|
ToneGenerator |
This class provides methods to play DTMF tones (ITU-T Recommendation Q.23),
call supervisory tones (3GPP TS 22.001, CEPT) and proprietary tones (3GPP TS 31.111).
|
TtmlRenderer | |
VolumePolicy | |
VolumeProvider |
Handles requests to adjust or set the volume on a session.
|
VolumeProvider.Callback |
Listens for changes to the volume.
|
WebVttRenderer |
Enum | Description |
---|---|
DecoderCapabilities.AudioDecoder |
The AudioDecoder class represents the type of an audio decoder
|
DecoderCapabilities.VideoDecoder |
The VideoDecoder class represents the type of a video decoder
|
Exception | Description |
---|---|
DeniedByServerException |
Exception thrown when the provisioning server or key server denies a
certficate or license for a device.
|
MediaCodec.CodecException |
Thrown when an internal codec error occurs.
|
MediaCodec.CryptoException |
Thrown when a crypto error occurs while queueing a secure input buffer.
|
MediaCryptoException |
Exception thrown if MediaCrypto object could not be instantiated or
if unable to perform an operation on the MediaCrypto object.
|
MediaDrm.MediaDrmStateException |
Thrown when an unrecoverable failure occurs during a MediaDrm operation.
|
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.
|
NotProvisionedException |
Exception thrown when an operation on a MediaDrm object is attempted
and the device does not have a certificate.
|
ResourceBusyException |
Exception thrown when an operation on a MediaDrm object is attempted
and hardware resources are not available, due to being in use.
|
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
|