MediaPlayer.MetricsConstants
public
static
final
class
MediaPlayer.MetricsConstants
extends Object
| java.lang.Object | |
| ↳ | android.media.MediaPlayer.MetricsConstants |
Summary
Constants | |
|---|---|
String |
CODEC_AUDIO
Key to extract the codec being used to decode the audio track
from the |
String |
CODEC_VIDEO
Key to extract the codec being used to decode the video track
from the |
String |
DURATION
Key to extract the duration (in milliseconds) of the
media being played
from the |
String |
ERRORS
Key to extract the count of errors encountered while
playing the media
from the |
String |
ERROR_CODE
Key to extract an (optional) error code detected while
playing the media
from the |
String |
FRAMES
Key to extract the count of video frames played
from the |
String |
FRAMES_DROPPED
Key to extract the count of video frames dropped
from the |
String |
HEIGHT
Key to extract the height (in pixels) of the video track
from the |
String |
MIME_TYPE_AUDIO
Key to extract the MIME type of the audio track
from the |
String |
MIME_TYPE_VIDEO
Key to extract the MIME type of the video track
from the |
String |
PLAYING
Key to extract the playing time (in milliseconds) of the
media being played
from the |
String |
WIDTH
Key to extract the width (in pixels) of the video track
from the |
Inherited methods | |
|---|---|
java.lang.Object
| |
Constants
CODEC_AUDIO
String CODEC_AUDIO
Key to extract the codec being used to decode the audio track
from the getMetrics() return value.
The value is a String.
Constant Value: "android.media.mediaplayer.audio.codec"
CODEC_VIDEO
String CODEC_VIDEO
Key to extract the codec being used to decode the video track
from the getMetrics() return value.
The value is a String.
Constant Value: "android.media.mediaplayer.video.codec"
DURATION
String DURATION
Key to extract the duration (in milliseconds) of the
media being played
from the getMetrics() return value.
The value is a long.
Constant Value: "android.media.mediaplayer.durationMs"
ERRORS
String ERRORS
Key to extract the count of errors encountered while
playing the media
from the getMetrics() return value.
The value is an integer.
Constant Value: "android.media.mediaplayer.err"
ERROR_CODE
String ERROR_CODE
Key to extract an (optional) error code detected while
playing the media
from the getMetrics() return value.
The value is an integer.
Constant Value: "android.media.mediaplayer.errcode"
FRAMES
String FRAMES
Key to extract the count of video frames played
from the getMetrics() return value.
The value is an integer.
Constant Value: "android.media.mediaplayer.frames"
FRAMES_DROPPED
String FRAMES_DROPPED
Key to extract the count of video frames dropped
from the getMetrics() return value.
The value is an integer.
Constant Value: "android.media.mediaplayer.dropped"
HEIGHT
String HEIGHT
Key to extract the height (in pixels) of the video track
from the getMetrics() return value.
The value is an integer.
Constant Value: "android.media.mediaplayer.height"
MIME_TYPE_AUDIO
String MIME_TYPE_AUDIO
Key to extract the MIME type of the audio track
from the getMetrics() return value.
The value is a String.
Constant Value: "android.media.mediaplayer.audio.mime"
MIME_TYPE_VIDEO
String MIME_TYPE_VIDEO
Key to extract the MIME type of the video track
from the getMetrics() return value.
The value is a String.
Constant Value: "android.media.mediaplayer.video.mime"
PLAYING
String PLAYING
Key to extract the playing time (in milliseconds) of the
media being played
from the getMetrics() return value.
The value is a long.
Constant Value: "android.media.mediaplayer.playingMs"
WIDTH
String WIDTH
Key to extract the width (in pixels) of the video track
from the getMetrics() return value.
The value is an integer.
Constant Value: "android.media.mediaplayer.width"
Interfaces
- AudioManager.OnAudioFocusChangeListener
- AudioRecord.OnRecordPositionUpdateListener
- AudioRecord.OnRoutingChangedListener
- AudioRouting
- AudioRouting.OnRoutingChangedListener
- AudioTrack.OnPlaybackPositionUpdateListener
- AudioTrack.OnRoutingChangedListener
- ImageReader.OnImageAvailableListener
- ImageWriter.OnImageReleasedListener
- JetPlayer.OnJetEventListener
- MediaCas.EventListener
- MediaCodec.OnFrameRenderedListener
- MediaDrm.OnEventListener
- MediaDrm.OnExpirationUpdateListener
- MediaDrm.OnKeyStatusChangeListener
- MediaPlayer.OnBufferingUpdateListener
- MediaPlayer.OnCompletionListener
- MediaPlayer.OnDrmConfigHelper
- MediaPlayer.OnDrmInfoListener
- MediaPlayer.OnDrmPreparedListener
- MediaPlayer.OnErrorListener
- MediaPlayer.OnInfoListener
- MediaPlayer.OnPreparedListener
- MediaPlayer.OnSeekCompleteListener
- MediaPlayer.OnTimedMetaDataAvailableListener
- MediaPlayer.OnTimedTextListener
- MediaPlayer.OnVideoSizeChangedListener
- MediaRecorder.OnErrorListener
- MediaRecorder.OnInfoListener
- MediaScannerConnection.MediaScannerConnectionClient
- MediaScannerConnection.OnScanCompletedListener
- MediaSync.OnErrorListener
- RemoteControlClient.OnGetPlaybackPositionListener
- RemoteControlClient.OnMetadataUpdateListener
- RemoteControlClient.OnPlaybackPositionUpdateListener
- RemoteController.OnClientUpdateListener
- SoundPool.OnLoadCompleteListener
- VolumeAutomation
Classes
- AsyncPlayer
- AudioAttributes
- AudioAttributes.Builder
- AudioDeviceCallback
- AudioDeviceInfo
- AudioFocusRequest
- AudioFocusRequest.Builder
- AudioFormat
- AudioFormat.Builder
- AudioManager
- AudioManager.AudioPlaybackCallback
- AudioManager.AudioRecordingCallback
- AudioPlaybackConfiguration
- AudioRecord
- AudioRecord.Builder
- AudioRecordingConfiguration
- AudioTimestamp
- AudioTrack
- AudioTrack.Builder
- CamcorderProfile
- CameraProfile
- DrmInitData
- DrmInitData.SchemeInitData
- ExifInterface
- FaceDetector
- FaceDetector.Face
- Image
- Image.Plane
- ImageReader
- ImageWriter
- JetPlayer
- MediaActionSound
- MediaCas
- MediaCas.PluginDescriptor
- MediaCas.Session
- MediaCodec
- MediaCodec.BufferInfo
- MediaCodec.Callback
- MediaCodec.CryptoInfo
- MediaCodec.CryptoInfo.Pattern
- MediaCodec.MetricsConstants
- MediaCodecInfo
- MediaCodecInfo.AudioCapabilities
- MediaCodecInfo.CodecCapabilities
- MediaCodecInfo.CodecProfileLevel
- MediaCodecInfo.EncoderCapabilities
- MediaCodecInfo.VideoCapabilities
- MediaCodecList
- MediaCrypto
- MediaDataSource
- MediaDescrambler
- MediaDescription
- MediaDescription.Builder
- MediaDrm
- MediaDrm.CryptoSession
- MediaDrm.KeyRequest
- MediaDrm.KeyStatus
- MediaDrm.ProvisionRequest
- MediaExtractor
- MediaExtractor.CasInfo
- MediaExtractor.MetricsConstants
- MediaFormat
- MediaMetadata
- MediaMetadata.Builder
- MediaMetadataEditor
- MediaMetadataRetriever
- MediaMuxer
- MediaMuxer.OutputFormat
- MediaPlayer
- MediaPlayer.DrmInfo
- MediaPlayer.MetricsConstants
- MediaPlayer.TrackInfo
- MediaRecorder
- MediaRecorder.AudioEncoder
- MediaRecorder.AudioSource
- MediaRecorder.MetricsConstants
- MediaRecorder.OutputFormat
- MediaRecorder.VideoEncoder
- MediaRecorder.VideoSource
- MediaRouter
- MediaRouter.Callback
- MediaRouter.RouteCategory
- MediaRouter.RouteGroup
- MediaRouter.RouteInfo
- MediaRouter.SimpleCallback
- MediaRouter.UserRouteInfo
- MediaRouter.VolumeCallback
- MediaScannerConnection
- MediaSync
- MediaSync.Callback
- MediaSyncEvent
- MediaTimestamp
- PlaybackParams
- Rating
- RemoteControlClient
- RemoteControlClient.MetadataEditor
- RemoteController
- RemoteController.MetadataEditor
- Ringtone
- RingtoneManager
- SoundPool
- SoundPool.Builder
- SyncParams
- ThumbnailUtils
- TimedMetaData
- TimedText
- ToneGenerator
- VolumeProvider
- VolumeShaper
- VolumeShaper.Configuration
- VolumeShaper.Configuration.Builder
- VolumeShaper.Operation
Exceptions
- DeniedByServerException
- MediaCasException
- MediaCasException.DeniedByServerException
- MediaCasException.NotProvisionedException
- MediaCasException.ResourceBusyException
- MediaCasException.UnsupportedCasException
- MediaCasStateException
- MediaCodec.CodecException
- MediaCodec.CryptoException
- MediaCryptoException
- MediaDrm.MediaDrmStateException
- MediaDrmException
- MediaDrmResetException
- MediaPlayer.NoDrmSchemeException
- MediaPlayer.ProvisioningNetworkErrorException
- MediaPlayer.ProvisioningServerErrorException
- NotProvisionedException
- ResourceBusyException
- UnsupportedSchemeException


