docs/doc/reference/com/google/android/exoplayer2/C.html
Package com.google.android.exoplayer2
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classCextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Defines constants used by the library.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static interface | C.AudioAllowedCapturePolicy |
Deprecated.
Capture policies for audio attributes.
|
| static interface | C.AudioContentType |
Deprecated.
Content types for audio attributes.
|
| static interface | C.AudioFlags |
Deprecated.
Flags for audio attributes.
|
| static interface | C.AudioUsage |
Deprecated.
Usage types for audio attributes.
|
| static interface | C.BufferFlags |
Deprecated.
Flags which can apply to a buffer containing a media sample.
|
| static interface | C.ColorRange |
Deprecated.
Video color range.
|
| static interface | C.ColorSpace |
Deprecated.
Video color spaces, also referred to as color standards.
|
| static interface | C.ColorTransfer |
Deprecated.
Video/image color transfer characteristics.
|
| static interface | C.ContentType |
Deprecated.
Represents a streaming or other media type.
|
| static interface | C.CryptoMode |
Deprecated.
Crypto modes for a codec.
|
| static interface | C.CryptoType |
Deprecated.
Types of crypto implementation.
|
| static interface | C.DataType |
Deprecated.
Represents a type of data.
|
| static interface | C.Encoding |
Deprecated.
Represents an audio encoding, or an invalid or unset value.
|
| static interface | C.FormatSupport |
Deprecated.
Level of renderer support for a format.
|
| static interface | C.NetworkType |
Deprecated.
Network connection type.
|
| static interface | C.PcmEncoding |
Deprecated.
Represents a PCM audio encoding, or an invalid or unset value.
|
| static interface | C.Projection |
Deprecated.
Video projection types.
|
| static interface | C.RoleFlags |
Deprecated.
Track role flags.
|
| static interface | C.SelectionFlags |
Deprecated.
Track selection flags.
|
| static interface | C.SelectionReason |
Deprecated.
Represents a reason for selection.
|
| static interface | C.SpatializationBehavior |
Deprecated.
Represents the behavior affecting whether spatialization will be used.
|
| static interface | C.StereoMode |
Deprecated.
The stereo mode for 360/3D/VR videos.
|
| static interface | C.StreamType |
Deprecated.
Stream types for an AudioTrack.
|
| static interface | C.TrackType |
Deprecated.
Represents a type of media track.
|
| static interface | C.VideoChangeFrameRateStrategy |
Deprecated.
Strategies for calling Surface.setFrameRate(float, int, int).
|
| static interface | C.VideoOutputMode |
Deprecated.
Video decoder output modes.
|
| static interface | C.VideoScalingMode |
Deprecated.
Video scaling modes for MediaCodec-based renderers.
|
| static interface | C.VolumeFlags |
Deprecated.
Volume flags to be used when setting or adjusting device volume.
|
| static interface | C.WakeMode |
Deprecated.
Mode specifying whether the player should hold a WakeLock and a WifiLock. |
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static int | ALLOW_CAPTURE_BY_ALL |
Deprecated.
See AudioAttributes.ALLOW_CAPTURE_BY_ALL.
|
| static int | ALLOW_CAPTURE_BY_NONE |
Deprecated.
See AudioAttributes.ALLOW_CAPTURE_BY_NONE.
|
| static int | ALLOW_CAPTURE_BY_SYSTEM |
Deprecated.
See AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM.
|
| static int | AUDIO_CONTENT_TYPE_MOVIE |
Deprecated.
See AudioAttributes.CONTENT_TYPE_MOVIE.
|
| static int | AUDIO_CONTENT_TYPE_MUSIC |
Deprecated.
See AudioAttributes.CONTENT_TYPE_MUSIC.
|
| static int | AUDIO_CONTENT_TYPE_SONIFICATION |
Deprecated.
See AudioAttributes.CONTENT_TYPE_SONIFICATION.
|
| static int | AUDIO_CONTENT_TYPE_SPEECH |
Deprecated.
See AudioAttributes.CONTENT_TYPE_SPEECH.
|
| static int | AUDIO_CONTENT_TYPE_UNKNOWN |
Deprecated.
See AudioAttributes.CONTENT_TYPE_UNKNOWN.
|
| static int | AUDIO_SESSION_ID_UNSET |
Deprecated.
Represents an unset AudioTrack session identifier.
|
| static int | BITS_PER_BYTE |
Deprecated.
The number of bits per byte.
|
| static int | BUFFER_FLAG_DECODE_ONLY |
Deprecated.
Indicates that a buffer should be decoded but not rendered.
|
| static int | BUFFER_FLAG_ENCRYPTED |
Deprecated.
Indicates that a buffer is (at least partially) encrypted.
|
| static int | BUFFER_FLAG_END_OF_STREAM |
Deprecated.
Flag for empty buffers that signal that the end of the stream was reached.
|
| static int | BUFFER_FLAG_FIRST_SAMPLE |
Deprecated.
Indicates that a buffer is known to contain the first media sample of the stream.
|
| static int | BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA |
Deprecated.
Indicates that a buffer has supplemental data.
|
| static int | BUFFER_FLAG_KEY_FRAME |
Deprecated.
Indicates that a buffer holds a synchronization sample.
|
| static int | BUFFER_FLAG_LAST_SAMPLE |
Deprecated.
Indicates that a buffer is known to contain the last media sample of the stream.
|
| static int | BYTES_PER_FLOAT |
Deprecated.
The number of bytes per float.
|
| static String | CENC_TYPE_cbc1 |
Deprecated.
"cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.
|
| static String | CENC_TYPE_cbcs |
Deprecated.
"cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.
|
| static String | CENC_TYPE_cenc |
Deprecated.
"cenc" scheme type name as defined in ISO/IEC 23001-7:2016.
|
| static String | CENC_TYPE_cens |
Deprecated.
"cens" scheme type name as defined in ISO/IEC 23001-7:2016.
|
| static UUID | CLEARKEY_UUID |
Deprecated.
UUID for the ClearKey DRM scheme.
|
| static int | COLOR_RANGE_FULL |
Deprecated.
See MediaFormat.COLOR_RANGE_FULL.
|
| static int | COLOR_RANGE_LIMITED |
Deprecated.
See MediaFormat.COLOR_RANGE_LIMITED.
|
| static int | COLOR_SPACE_BT2020 |
Deprecated.
See MediaFormat.COLOR_STANDARD_BT2020.
|
| static int | COLOR_SPACE_BT601 |
Deprecated.
See MediaFormat.COLOR_STANDARD_BT601_PAL.
|
| static int | COLOR_SPACE_BT709 |
Deprecated.
See MediaFormat.COLOR_STANDARD_BT709.
|
| static int | COLOR_TRANSFER_GAMMA_2_2 |
Deprecated.
See DataSpace.TRANSFER_GAMMA2_2.
|
| static int | COLOR_TRANSFER_HLG |
Deprecated.
See MediaFormat.COLOR_TRANSFER_HLG.
|
| static int | COLOR_TRANSFER_LINEAR |
Deprecated.
See MediaFormat.COLOR_TRANSFER_LINEAR.
|
| static int | COLOR_TRANSFER_SDR |
Deprecated.
See MediaFormat.COLOR_TRANSFER_SDR_VIDEO.
|
| static int | COLOR_TRANSFER_SRGB |
Deprecated.
See DataSpace.TRANSFER_SRGB.
|
| static int | COLOR_TRANSFER_ST2084 |
Deprecated.
See MediaFormat.COLOR_TRANSFER_ST2084.
|
| static UUID | COMMON_PSSH_UUID |
Deprecated.
UUID for the W3C Common PSSH box.
|
| static int | CONTENT_TYPE_DASH |
Deprecated.
Value representing a DASH manifest.
|
| static int | CONTENT_TYPE_HLS |
Deprecated.
Value representing an HLS manifest.
|
| static int | CONTENT_TYPE_MOVIE |
Deprecated.
Use AUDIO_CONTENT_TYPE_MOVIE instead.
|
| static int | CONTENT_TYPE_MUSIC |
Deprecated.
Use AUDIO_CONTENT_TYPE_MUSIC instead.
|
| static int | CONTENT_TYPE_OTHER |
Deprecated.
Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.
|
| static int | CONTENT_TYPE_RTSP |
Deprecated.
Value representing an RTSP stream.
|
| static int | CONTENT_TYPE_SONIFICATION |
Deprecated.
Use AUDIO_CONTENT_TYPE_SONIFICATION instead.
|
| static int | CONTENT_TYPE_SPEECH |
Deprecated.
Use AUDIO_CONTENT_TYPE_SPEECH instead.
|
| static int | CONTENT_TYPE_SS |
Deprecated.
Value representing a Smooth Streaming manifest.
|
| static int | CONTENT_TYPE_UNKNOWN |
Deprecated.
Use AUDIO_CONTENT_TYPE_UNKNOWN instead.
|
| static int | CRYPTO_MODE_AES_CBC |
Deprecated.
See MediaCodec.CRYPTO_MODE_AES_CBC.
|
| static int | CRYPTO_MODE_AES_CTR |
Deprecated.
See MediaCodec.CRYPTO_MODE_AES_CTR.
|
| static int | CRYPTO_MODE_UNENCRYPTED |
Deprecated.
See MediaCodec.CRYPTO_MODE_UNENCRYPTED.
|
| static int | CRYPTO_TYPE_CUSTOM_BASE |
Deprecated.
Applications or extensions may define custom CRYPTO_TYPE_* constants greater than or equal to this value.
|
| static int | CRYPTO_TYPE_FRAMEWORK |
Deprecated.
Framework crypto in which a MediaCodec is configured with a MediaCrypto.
|
| static int | CRYPTO_TYPE_NONE |
Deprecated.
No crypto.
|
| static int | CRYPTO_TYPE_UNSUPPORTED |
Deprecated.
An unsupported crypto type.
|
| static int | DATA_TYPE_AD |
Deprecated.
A data type constant for ads loader data.
|
| static int | DATA_TYPE_CUSTOM_BASE |
Deprecated.
Applications or extensions may define custom DATA_TYPE_* constants greater than or equal to this value.
|
| static int | DATA_TYPE_DRM |
Deprecated.
A data type constant for drm or encryption data.
|
| static int | DATA_TYPE_MANIFEST |
Deprecated.
A data type constant for a manifest file.
|
| static int | DATA_TYPE_MEDIA |
Deprecated.
A data type constant for media, typically containing media samples.
|
| static int | DATA_TYPE_MEDIA_INITIALIZATION |
Deprecated.
A data type constant for media, typically containing only initialization data.
|
| static int | DATA_TYPE_MEDIA_PROGRESSIVE_LIVE |
Deprecated.
A data type constant for live progressive media streams, typically containing media samples.
|
| static int | DATA_TYPE_TIME_SYNCHRONIZATION |
Deprecated.
A data type constant for time synchronization data.
|
| static int | DATA_TYPE_UNKNOWN |
Deprecated.
A data type constant for data of unknown or unspecified type.
|
| static int | DEFAULT_BUFFER_SEGMENT_SIZE |
Deprecated.
A default size in bytes for an individual allocation that forms part of a larger buffer.
|
| static long | DEFAULT_MAX_SEEK_TO_PREVIOUS_POSITION_MS |
Deprecated.
A default maximum position for which a seek to previous will seek to the previous window, in milliseconds.
|
| static long | DEFAULT_SEEK_BACK_INCREMENT_MS |
Deprecated.
A default seek back increment, in milliseconds.
|
| static long | DEFAULT_SEEK_FORWARD_INCREMENT_MS |
Deprecated.
A default seek forward increment, in milliseconds.
|
| static int | ENCODING_AAC_ELD |
Deprecated.
See AudioFormat.ENCODING_AAC_ELD.
|
| static int | ENCODING_AAC_ER_BSAC |
Deprecated.
AAC Error Resilient Bit-Sliced Arithmetic Coding.
|
| static int | ENCODING_AAC_HE_V1 |
Deprecated.
See AudioFormat.ENCODING_AAC_HE_V1.
|
| static int | ENCODING_AAC_HE_V2 |
Deprecated.
See AudioFormat.ENCODING_AAC_HE_V2.
|
| static int | ENCODING_AAC_LC |
Deprecated.
See AudioFormat.ENCODING_AAC_LC.
|
| static int | ENCODING_AAC_XHE |
Deprecated.
See AudioFormat.ENCODING_AAC_XHE.
|
| static int | ENCODING_AC3 |
Deprecated.
See AudioFormat.ENCODING_AC3.
|
| static int | ENCODING_AC4 |
Deprecated.
See AudioFormat.ENCODING_AC4.
|
| static int | ENCODING_DOLBY_TRUEHD |
Deprecated.
See AudioFormat.ENCODING_DOLBY_TRUEHD.
|
| static int | ENCODING_DTS |
Deprecated.
See AudioFormat.ENCODING_DTS.
|
| static int | ENCODING_DTS_HD |
Deprecated.
See AudioFormat.ENCODING_DTS_HD.
|
| static int | ENCODING_DTS_UHD_P2 |
Deprecated.
|
| static int | ENCODING_E_AC3 |
Deprecated.
See AudioFormat.ENCODING_E_AC3.
|
| static int | ENCODING_E_AC3_JOC |
Deprecated.
See AudioFormat.ENCODING_E_AC3_JOC.
|
| static int | ENCODING_INVALID |
Deprecated.
See AudioFormat.ENCODING_INVALID.
|
| static int | ENCODING_MP3 |
Deprecated.
See AudioFormat.ENCODING_MP3.
|
| static int | ENCODING_OPUS |
Deprecated.
See AudioFormat.ENCODING_OPUS.
|
| static int | ENCODING_PCM_16BIT |
Deprecated.
See AudioFormat.ENCODING_PCM_16BIT.
|
| static int | ENCODING_PCM_16BIT_BIG_ENDIAN |
Deprecated.
Like ENCODING_PCM_16BIT, but with the bytes in big endian order.
|
| static int | ENCODING_PCM_24BIT |
Deprecated.
PCM encoding with 24 bits per sample.
|
| static int | ENCODING_PCM_32BIT |
Deprecated.
PCM encoding with 32 bits per sample.
|
| static int | ENCODING_PCM_8BIT |
Deprecated.
See AudioFormat.ENCODING_PCM_8BIT.
|
| static int | ENCODING_PCM_FLOAT |
Deprecated.
See AudioFormat.ENCODING_PCM_FLOAT.
|
| static int | FLAG_AUDIBILITY_ENFORCED |
Deprecated.
See AudioAttributes.FLAG_AUDIBILITY_ENFORCED.
|
| static int | FORMAT_EXCEEDS_CAPABILITIES |
Deprecated.
The Renderer is capable of rendering formats with the same MIME type, but the properties of the format exceed the renderer's capabilities.
|
| static int | FORMAT_HANDLED |
Deprecated.
The Renderer is capable of rendering the format.
|
| static int | FORMAT_UNSUPPORTED_DRM |
Deprecated.
The Renderer is capable of rendering formats with the same MIME type, but is not capable of rendering the format because the format's drm protection is not supported.
|
| static int | FORMAT_UNSUPPORTED_SUBTYPE |
Deprecated.
The Renderer is a general purpose renderer for formats of the same top-level type, but is not capable of rendering the format or any other format with the same MIME type because the sub-type is not supported.
|
| static int | FORMAT_UNSUPPORTED_TYPE |
Deprecated.
The Renderer is not capable of rendering the format, either because it does not support the format's top-level type, or because it's a specialized renderer for a different MIME type.
|
| static int | INDEX_UNSET |
Deprecated.
Represents an unset or unknown index or byte position.
|
| static String | LANGUAGE_UNDETERMINED |
Deprecated.
Represents an undetermined language as an ISO 639-2 language code.
|
| static int | LENGTH_UNSET |
Deprecated.
Represents an unset or unknown length.
|
| static long | MICROS_PER_SECOND |
Deprecated.
The number of microseconds in one second.
|
| static long | MILLIS_PER_SECOND |
Deprecated.
The number of milliseconds in one second.
|
| static long | NANOS_PER_SECOND |
Deprecated.
The number of nanoseconds in one second.
|
| static int | NETWORK_TYPE_2G |
Deprecated.
Network type for a 2G cellular connection.
|
| static int | NETWORK_TYPE_3G |
Deprecated.
Network type for a 3G cellular connection.
|
| static int | NETWORK_TYPE_4G |
Deprecated.
Network type for a 4G cellular connection.
|
| static int | NETWORK_TYPE_5G_NSA |
Deprecated.
Network type for a 5G non-stand-alone (NSA) cellular connection.
|
| static int | NETWORK_TYPE_5G_SA |
Deprecated.
Network type for a 5G stand-alone (SA) cellular connection.
|
| static int | NETWORK_TYPE_CELLULAR_UNKNOWN |
Deprecated.
Network type for cellular connections which cannot be mapped to one of NETWORK_TYPE_2G, NETWORK_TYPE_3G, or NETWORK_TYPE_4G.
|
| static int | NETWORK_TYPE_ETHERNET |
Deprecated.
Network type for an Ethernet connection.
|
| static int | NETWORK_TYPE_OFFLINE |
Deprecated.
No network connection.
|
| static int | NETWORK_TYPE_OTHER |
Deprecated.
Network type for other connections which are not Wifi or cellular (e.g.
|
| static int | NETWORK_TYPE_UNKNOWN |
Deprecated.
Unknown network type.
|
| static int | NETWORK_TYPE_WIFI |
Deprecated.
Network type for a Wifi connection.
|
| static int | PERCENTAGE_UNSET |
Deprecated.
Represents an unset or unknown percentage.
|
| static UUID | PLAYREADY_UUID |
Deprecated.
UUID for the PlayReady DRM scheme.
|
| static int | POSITION_UNSET |
Deprecated.
Use INDEX_UNSET.
|
| static int | PRIORITY_DOWNLOAD |
Deprecated.
Priority for media downloading.
|
| static int | PRIORITY_PLAYBACK |
Deprecated.
Priority for media playback.
|
| static int | PROJECTION_CUBEMAP |
Deprecated.
Cube map projection.
|
| static int | PROJECTION_EQUIRECTANGULAR |
Deprecated.
Equirectangular spherical projection.
|
| static int | PROJECTION_MESH |
Deprecated.
3-D mesh projection.
|
| static int | PROJECTION_RECTANGULAR |
Deprecated.
Conventional rectangular projection.
|
| static float | RATE_UNSET |
Deprecated.
Represents an unset or unknown rate.
|
| static int | RATE_UNSET_INT |
Deprecated.
Represents an unset or unknown integer rate.
|
| static int | RESULT_BUFFER_READ |
Deprecated.
A return value for methods where a buffer was read.
|
| static int | RESULT_END_OF_INPUT |
Deprecated.
A return value for methods where the end of an input was encountered.
|
| static int | RESULT_FORMAT_READ |
Deprecated.
A return value for methods where a format was read.
|
| static int | RESULT_MAX_LENGTH_EXCEEDED |
Deprecated.
A return value for methods where the length of parsed data exceeds the maximum length allowed.
|
| static int | RESULT_NOTHING_READ |
Deprecated.
A return value for methods where nothing was read.
|
| static int | ROLE_FLAG_ALTERNATE |
Deprecated.
Indicates an alternate track.
|
| static int | ROLE_FLAG_CAPTION |
Deprecated.
Indicates the track contains captions.
|
| static int | ROLE_FLAG_COMMENTARY |
Deprecated.
Indicates the track contains commentary, for example from the director.
|
| static int | ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND |
Deprecated.
Indicates the track contains a textual description of music and sound.
|
| static int | ROLE_FLAG_DESCRIBES_VIDEO |
Deprecated.
Indicates the track contains an audio or textual description of a video track.
|
| static int | ROLE_FLAG_DUB |
Deprecated.
Indicates the track is in a different language from the original, for example dubbed audio or translated captions.
|
| static int | ROLE_FLAG_EASY_TO_READ |
Deprecated.
Indicates the track contains a text that has been edited for ease of reading.
|
| static int | ROLE_FLAG_EMERGENCY |
Deprecated.
Indicates the track contains information about a current emergency.
|
| static int | ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY |
Deprecated.
Indicates the track is designed for improved intelligibility of dialogue.
|
| static int | ROLE_FLAG_MAIN |
Deprecated.
Indicates a main track.
|
| static int | ROLE_FLAG_SIGN |
Deprecated.
Indicates the track contains a visual sign-language interpretation of an audio track.
|
| static int | ROLE_FLAG_SUBTITLE |
Deprecated.
Indicates the track contains subtitles.
|
| static int | ROLE_FLAG_SUPPLEMENTARY |
Deprecated.
Indicates a supplementary track, meaning the track has lower importance than the main track(s).
|
| static int | ROLE_FLAG_TRANSCRIBES_DIALOG |
Deprecated.
Indicates the track contains a transcription of spoken dialog.
|
| static int | ROLE_FLAG_TRICK_PLAY |
Deprecated.
Indicates the track is intended for trick play.
|
| static String | SANS_SERIF_NAME |
Deprecated.
The name of the sans-serif font family.
|
| static int | SELECTION_FLAG_AUTOSELECT |
Deprecated.
Indicates that the player may choose to play the track in absence of an explicit user preference.
|
| static int | SELECTION_FLAG_DEFAULT |
Deprecated.
Indicates that the track should be selected if user preferences do not state otherwise.
|
| static int | SELECTION_FLAG_FORCED |
Deprecated.
Indicates that the track should be selected if its language matches the language of the selected audio track and user preferences do not state otherwise.
|
| static int | SELECTION_REASON_ADAPTIVE |
Deprecated.
A selection reason constant for an adaptive track selection.
|
| static int | SELECTION_REASON_CUSTOM_BASE |
Deprecated.
Applications or extensions may define custom SELECTION_REASON_* constants greater than or equal to this value.
|
| static int | SELECTION_REASON_INITIAL |
Deprecated.
A selection reason constant for an initial track selection.
|
| static int | SELECTION_REASON_MANUAL |
Deprecated.
A selection reason constant for an manual (i.e.
|
| static int | SELECTION_REASON_TRICK_PLAY |
Deprecated.
A selection reason constant for a trick play track selection.
|
| static int | SELECTION_REASON_UNKNOWN |
Deprecated.
A selection reason constant for selections whose reasons are unknown or unspecified.
|
| static String | SERIF_NAME |
Deprecated.
The name of the serif font family.
|
| static int | SPATIALIZATION_BEHAVIOR_AUTO |
Deprecated.
See AudioAttributes.SPATIALIZATION_BEHAVIOR_AUTO.
|
| static int | SPATIALIZATION_BEHAVIOR_NEVER |
Deprecated.
See AudioAttributes.SPATIALIZATION_BEHAVIOR_NEVER.
|
| static String | SSAI_SCHEME |
Deprecated.
The URI scheme used for content with server side ad insertion.
|
| static int | STEREO_MODE_LEFT_RIGHT |
Deprecated.
Indicates Left-Right stereo layout, used with 360/3D/VR videos.
|
| static int | STEREO_MODE_MONO |
Deprecated.
Indicates Monoscopic stereo layout, used with 360/3D/VR videos.
|
| static int | STEREO_MODE_STEREO_MESH |
Deprecated.
Indicates a stereo layout where the left and right eyes have separate meshes, used with 360/3D/VR videos.
|
| static int | STEREO_MODE_TOP_BOTTOM |
Deprecated.
Indicates Top-Bottom stereo layout, used with 360/3D/VR videos.
|
| static int | STREAM_TYPE_ALARM |
Deprecated.
See AudioManager.STREAM_ALARM.
|
| static int | STREAM_TYPE_DEFAULT |
Deprecated.
The default stream type used by audio renderers.
|
| static int | STREAM_TYPE_DTMF |
Deprecated.
See AudioManager.STREAM_DTMF.
|
| static int | STREAM_TYPE_MUSIC |
Deprecated.
See AudioManager.STREAM_MUSIC.
|
| static int | STREAM_TYPE_NOTIFICATION |
Deprecated.
See AudioManager.STREAM_NOTIFICATION.
|
| static int | STREAM_TYPE_RING |
Deprecated.
See AudioManager.STREAM_RING.
|
| static int | STREAM_TYPE_SYSTEM |
Deprecated.
See AudioManager.STREAM_SYSTEM.
|
| static int | STREAM_TYPE_VOICE_CALL |
Deprecated.
See AudioManager.STREAM_VOICE_CALL.
|
| static long | TIME_END_OF_SOURCE |
Deprecated.
Special constant representing a time corresponding to the end of a source.
|
| static long | TIME_UNSET |
Deprecated.
Special constant representing an unset or unknown time or duration.
|
| static int | TRACK_TYPE_AUDIO |
Deprecated.
A type constant for audio tracks.
|
| static int | TRACK_TYPE_CAMERA_MOTION |
Deprecated.
A type constant for camera motion tracks.
|
| static int | TRACK_TYPE_CUSTOM_BASE |
Deprecated.
Applications or extensions may define custom TRACK_TYPE_* constants greater than or equal to this value.
|
| static int | TRACK_TYPE_DEFAULT |
Deprecated.
A type constant for tracks of some default type, where the type itself is unknown.
|
| static int | TRACK_TYPE_IMAGE |
Deprecated.
A type constant for image tracks.
|
| static int | TRACK_TYPE_METADATA |
Deprecated.
A type constant for metadata tracks.
|
| static int | TRACK_TYPE_NONE |
Deprecated.
A type constant for a fake or empty track.
|
| static int | TRACK_TYPE_TEXT |
Deprecated.
A type constant for text tracks.
|
| static int | TRACK_TYPE_UNKNOWN |
Deprecated.
A type constant for tracks of unknown type.
|
| static int | TRACK_TYPE_VIDEO |
Deprecated.
A type constant for video tracks.
|
| static int | TYPE_DASH |
Deprecated.
Use CONTENT_TYPE_DASH instead.
|
| static int | TYPE_HLS |
Deprecated.
Use CONTENT_TYPE_HLS instead.
|
| static int | TYPE_OTHER |
Deprecated.
Use CONTENT_TYPE_OTHER instead.
|
| static int | TYPE_RTSP |
Deprecated.
Use CONTENT_TYPE_RTSP instead.
|
| static int | TYPE_SS |
Deprecated.
Use CONTENT_TYPE_SS instead.
|
| static int | USAGE_ALARM |
Deprecated.
See AudioAttributes.USAGE_ALARM.
|
| static int | USAGE_ASSISTANCE_ACCESSIBILITY |
Deprecated.
See AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY.
|
| static int | USAGE_ASSISTANCE_NAVIGATION_GUIDANCE |
Deprecated.
See AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE.
|
| static int | USAGE_ASSISTANCE_SONIFICATION |
Deprecated.
See AudioAttributes.USAGE_ASSISTANCE_SONIFICATION.
|
| static int | USAGE_ASSISTANT |
Deprecated.
See AudioAttributes.USAGE_ASSISTANT.
|
| static int | USAGE_GAME |
Deprecated.
See AudioAttributes.USAGE_GAME.
|
| static int | USAGE_MEDIA |
Deprecated.
See AudioAttributes.USAGE_MEDIA.
|
| static int | USAGE_NOTIFICATION |
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION.
|
| static int | USAGE_NOTIFICATION_COMMUNICATION_DELAYED |
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_DELAYED.
|
| static int | USAGE_NOTIFICATION_COMMUNICATION_INSTANT |
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_INSTANT.
|
| static int | USAGE_NOTIFICATION_COMMUNICATION_REQUEST |
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_REQUEST.
|
| static int | USAGE_NOTIFICATION_EVENT |
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_EVENT.
|
| static int | USAGE_NOTIFICATION_RINGTONE |
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_RINGTONE.
|
| static int | USAGE_UNKNOWN |
Deprecated.
See AudioAttributes.USAGE_UNKNOWN.
|
| static int | USAGE_VOICE_COMMUNICATION |
Deprecated.
See AudioAttributes.USAGE_VOICE_COMMUNICATION.
|
| static int | USAGE_VOICE_COMMUNICATION_SIGNALLING |
Deprecated.
See AudioAttributes.USAGE_VOICE_COMMUNICATION_SIGNALLING.
|
| static UUID | UUID_NIL |
Deprecated.
The Nil UUID as defined by RFC4122.
|
| static int | VIDEO_CHANGE_FRAME_RATE_STRATEGY_OFF |
Deprecated.
Strategy to never call Surface.setFrameRate(float, int, int).
|
| static int | VIDEO_CHANGE_FRAME_RATE_STRATEGY_ONLY_IF_SEAMLESS |
Deprecated.
Strategy to call Surface.setFrameRate(float, int, int) with Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS when the output frame rate is known.
|
| static int | VIDEO_OUTPUT_MODE_NONE |
Deprecated.
Video decoder output mode is not set.
|
| static int | VIDEO_OUTPUT_MODE_SURFACE_YUV |
Deprecated.
Video decoder output mode that renders 4:2:0 YUV planes directly to a surface.
|
| static int | VIDEO_OUTPUT_MODE_YUV |
Deprecated.
Video decoder output mode that outputs raw 4:2:0 YUV planes.
|
| static int | VIDEO_SCALING_MODE_DEFAULT |
Deprecated.
A default video scaling mode for MediaCodec-based renderers.
|
| static int | VIDEO_SCALING_MODE_SCALE_TO_FIT |
Deprecated.
See MediaCodec.VIDEO_SCALING_MODE_SCALE_TO_FIT.
|
| static int | VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING |
Deprecated.
See MediaCodec.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING.
|
| static int | VOLUME_FLAG_ALLOW_RINGER_MODES |
Deprecated.
See AudioManager.FLAG_ALLOW_RINGER_MODES.
|
| static int | VOLUME_FLAG_PLAY_SOUND |
Deprecated.
See AudioManager.FLAG_PLAY_SOUND.
|
| static int | VOLUME_FLAG_REMOVE_SOUND_AND_VIBRATE |
Deprecated.
See AudioManager.FLAG_REMOVE_SOUND_AND_VIBRATE.
|
| static int | VOLUME_FLAG_SHOW_UI |
Deprecated.
See AudioManager.FLAG_SHOW_UI.
|
| static int | VOLUME_FLAG_VIBRATE |
Deprecated.
See AudioManager.FLAG_VIBRATE.
|
| static int | WAKE_MODE_LOCAL |
Deprecated.
A wake mode that will cause the player to hold a PowerManager.WakeLock during playback.
|
| static int | WAKE_MODE_NETWORK |
Deprecated.
A wake mode that will cause the player to hold a PowerManager.WakeLock and a WifiManager.WifiLock during playback.
|
| static int | WAKE_MODE_NONE |
Deprecated.
A wake mode that will not cause the player to hold any locks.
|
| static UUID | WIDEVINE_UUID |
Deprecated.
UUID for the Widevine DRM scheme. |
All Methods Static Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| static int | generateAudioSessionIdV21(Context context) |
Deprecated.
Use Util.generateAudioSessionIdV21(Context).
|
| static @com.google.android.exoplayer2.PlaybackException.ErrorCode int | getErrorCodeForMediaDrmErrorCode(int mediaDrmErrorCode) |
Deprecated.
Use Util.getErrorCodeForMediaDrmErrorCode(int).
|
| static String | getFormatSupportString(@com.google.android.exoplayer2.C.FormatSupport int formatSupport) |
Deprecated.
Use Util.getFormatSupportString(int).
|
| static long | msToUs(long timeMs) |
Deprecated.
Use Util.msToUs(long).
|
| static long | usToMs(long timeUs) |
Deprecated.
Use Util.usToMs(long).
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public static final long TIME_END_OF_SOURCE
Deprecated.
Special constant representing a time corresponding to the end of a source. Suitable for use in any time base. See Also:Constant Field Values
-
public static final long TIME_UNSET
Deprecated.
Special constant representing an unset or unknown time or duration. Suitable for use in any time base. See Also:Constant Field Values
-
public static final int INDEX_UNSET
Deprecated.
Represents an unset or unknown index or byte position. See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int POSITION_UNSET
Deprecated.
Use INDEX_UNSET.
See Also:Constant Field Values
-
public static final float RATE_UNSET
Deprecated.
Represents an unset or unknown rate. See Also:Constant Field Values
-
public static final int RATE_UNSET_INT
Deprecated.
Represents an unset or unknown integer rate. See Also:Constant Field Values
-
public static final int LENGTH_UNSET
Deprecated.
Represents an unset or unknown length. See Also:Constant Field Values
-
public static final int PERCENTAGE_UNSET
Deprecated.
Represents an unset or unknown percentage. See Also:Constant Field Values
-
public static final long MILLIS_PER_SECOND
Deprecated.
The number of milliseconds in one second. See Also:Constant Field Values
-
public static final long MICROS_PER_SECOND
Deprecated.
The number of microseconds in one second. See Also:Constant Field Values
-
public static final long NANOS_PER_SECOND
Deprecated.
The number of nanoseconds in one second. See Also:Constant Field Values
-
public static final int BITS_PER_BYTE
Deprecated.
The number of bits per byte. See Also:Constant Field Values
-
public static final int BYTES_PER_FLOAT
Deprecated.
The number of bytes per float. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")SERIF_NAME
Deprecated.
The name of the serif font family. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")SANS_SERIF_NAME
Deprecated.
The name of the sans-serif font family. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")SSAI_SCHEME
Deprecated.
The URI scheme used for content with server side ad insertion.
See Also:Constant Field Values
-
public static final int CRYPTO_TYPE_NONE
Deprecated.
No crypto. See Also:Constant Field Values
-
public static final int CRYPTO_TYPE_UNSUPPORTED
Deprecated.
An unsupported crypto type. See Also:Constant Field Values
-
public static final int CRYPTO_TYPE_FRAMEWORK
Deprecated.
Framework crypto in which a MediaCodec is configured with a MediaCrypto.
See Also:Constant Field Values
-
public static final int CRYPTO_TYPE_CUSTOM_BASE
Deprecated.
Applications or extensions may define custom CRYPTO_TYPE_* constants greater than or equal to this value.
See Also:Constant Field Values
-
public static final int CRYPTO_MODE_UNENCRYPTED
Deprecated.
See MediaCodec.CRYPTO_MODE_UNENCRYPTED.
See Also:Constant Field Values
-
public static final int CRYPTO_MODE_AES_CTR
Deprecated.
See MediaCodec.CRYPTO_MODE_AES_CTR.
See Also:Constant Field Values
-
public static final int CRYPTO_MODE_AES_CBC
Deprecated.
See MediaCodec.CRYPTO_MODE_AES_CBC.
See Also:Constant Field Values
-
public static final int AUDIO_SESSION_ID_UNSET
Deprecated.
Represents an unset AudioTrack session identifier. Equal to AudioManager.AUDIO_SESSION_ID_GENERATE.
See Also:Constant Field Values
-
public static final int ENCODING_INVALID
Deprecated.
See AudioFormat.ENCODING_INVALID.
See Also:Constant Field Values
-
public static final int ENCODING_PCM_8BIT
Deprecated.
See AudioFormat.ENCODING_PCM_8BIT.
See Also:Constant Field Values
-
public static final int ENCODING_PCM_16BIT
Deprecated.
See AudioFormat.ENCODING_PCM_16BIT.
See Also:Constant Field Values
-
public static final int ENCODING_PCM_16BIT_BIG_ENDIAN
Deprecated.
Like ENCODING_PCM_16BIT, but with the bytes in big endian order.
See Also:Constant Field Values
-
public static final int ENCODING_PCM_24BIT
Deprecated.
PCM encoding with 24 bits per sample. See Also:Constant Field Values
-
public static final int ENCODING_PCM_32BIT
Deprecated.
PCM encoding with 32 bits per sample. See Also:Constant Field Values
-
public static final int ENCODING_PCM_FLOAT
Deprecated.
See AudioFormat.ENCODING_PCM_FLOAT.
See Also:Constant Field Values
-
public static final int ENCODING_MP3
Deprecated.
See AudioFormat.ENCODING_MP3.
See Also:Constant Field Values
-
public static final int ENCODING_AAC_LC
Deprecated.
See AudioFormat.ENCODING_AAC_LC.
See Also:Constant Field Values
-
public static final int ENCODING_AAC_HE_V1
Deprecated.
See AudioFormat.ENCODING_AAC_HE_V1.
See Also:Constant Field Values
-
public static final int ENCODING_AAC_HE_V2
Deprecated.
See AudioFormat.ENCODING_AAC_HE_V2.
See Also:Constant Field Values
-
public static final int ENCODING_AAC_XHE
Deprecated.
See AudioFormat.ENCODING_AAC_XHE.
See Also:Constant Field Values
-
public static final int ENCODING_AAC_ELD
Deprecated.
See AudioFormat.ENCODING_AAC_ELD.
See Also:Constant Field Values
-
public static final int ENCODING_AAC_ER_BSAC
Deprecated.
AAC Error Resilient Bit-Sliced Arithmetic Coding. See Also:Constant Field Values
-
public static final int ENCODING_AC3
Deprecated.
See AudioFormat.ENCODING_AC3.
See Also:Constant Field Values
-
public static final int ENCODING_E_AC3
Deprecated.
See AudioFormat.ENCODING_E_AC3.
See Also:Constant Field Values
-
public static final int ENCODING_E_AC3_JOC
Deprecated.
See AudioFormat.ENCODING_E_AC3_JOC.
See Also:Constant Field Values
-
public static final int ENCODING_AC4
Deprecated.
See AudioFormat.ENCODING_AC4.
See Also:Constant Field Values
-
public static final int ENCODING_DTS
Deprecated.
See AudioFormat.ENCODING_DTS.
See Also:Constant Field Values
-
public static final int ENCODING_DTS_HD
Deprecated.
See AudioFormat.ENCODING_DTS_HD.
See Also:Constant Field Values
-
public static final int ENCODING_DTS_UHD_P2
Deprecated. See Also:Constant Field Values
-
public static final int ENCODING_DOLBY_TRUEHD
Deprecated.
See AudioFormat.ENCODING_DOLBY_TRUEHD.
See Also:Constant Field Values
-
public static final int ENCODING_OPUS
Deprecated.
See AudioFormat.ENCODING_OPUS.
See Also:Constant Field Values
-
public static final int SPATIALIZATION_BEHAVIOR_AUTO
Deprecated.
See AudioAttributes.SPATIALIZATION_BEHAVIOR_AUTO.
See Also:Constant Field Values
-
public static final int SPATIALIZATION_BEHAVIOR_NEVER
Deprecated.
See AudioAttributes.SPATIALIZATION_BEHAVIOR_NEVER.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_ALARM
Deprecated.
See AudioManager.STREAM_ALARM.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_DTMF
Deprecated.
See AudioManager.STREAM_DTMF.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_MUSIC
Deprecated.
See AudioManager.STREAM_MUSIC.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_NOTIFICATION
Deprecated.
See AudioManager.STREAM_NOTIFICATION.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_RING
Deprecated.
See AudioManager.STREAM_RING.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_SYSTEM
Deprecated.
See AudioManager.STREAM_SYSTEM.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_VOICE_CALL
Deprecated.
See AudioManager.STREAM_VOICE_CALL.
See Also:Constant Field Values
-
public static final int STREAM_TYPE_DEFAULT
Deprecated.
The default stream type used by audio renderers. Equal to STREAM_TYPE_MUSIC.
See Also:Constant Field Values
-
public static final int VOLUME_FLAG_SHOW_UI
Deprecated.
See AudioManager.FLAG_SHOW_UI.
See Also:Constant Field Values
-
public static final int VOLUME_FLAG_ALLOW_RINGER_MODES
Deprecated.
See AudioManager.FLAG_ALLOW_RINGER_MODES.
See Also:Constant Field Values
-
public static final int VOLUME_FLAG_PLAY_SOUND
Deprecated.
See AudioManager.FLAG_PLAY_SOUND.
See Also:Constant Field Values
-
public static final int VOLUME_FLAG_REMOVE_SOUND_AND_VIBRATE
Deprecated.
See AudioManager.FLAG_REMOVE_SOUND_AND_VIBRATE.
See Also:Constant Field Values
-
public static final int VOLUME_FLAG_VIBRATE
Deprecated.
See AudioManager.FLAG_VIBRATE.
See Also:Constant Field Values
-
public static final int AUDIO_CONTENT_TYPE_MOVIE
Deprecated.
See AudioAttributes.CONTENT_TYPE_MOVIE.
See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int CONTENT_TYPE_MOVIE
Deprecated.
Use AUDIO_CONTENT_TYPE_MOVIE instead.
See Also:Constant Field Values
-
public static final int AUDIO_CONTENT_TYPE_MUSIC
Deprecated.
See AudioAttributes.CONTENT_TYPE_MUSIC.
See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int CONTENT_TYPE_MUSIC
Deprecated.
Use AUDIO_CONTENT_TYPE_MUSIC instead.
See Also:Constant Field Values
-
public static final int AUDIO_CONTENT_TYPE_SONIFICATION
Deprecated.
See AudioAttributes.CONTENT_TYPE_SONIFICATION.
See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int CONTENT_TYPE_SONIFICATION
Deprecated.
Use AUDIO_CONTENT_TYPE_SONIFICATION instead.
See Also:Constant Field Values
-
public static final int AUDIO_CONTENT_TYPE_SPEECH
Deprecated.
See AudioAttributes.CONTENT_TYPE_SPEECH.
See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int CONTENT_TYPE_SPEECH
Deprecated.
Use AUDIO_CONTENT_TYPE_SPEECH instead.
See Also:Constant Field Values
-
public static final int AUDIO_CONTENT_TYPE_UNKNOWN
Deprecated.
See AudioAttributes.CONTENT_TYPE_UNKNOWN.
See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int CONTENT_TYPE_UNKNOWN
Deprecated.
Use AUDIO_CONTENT_TYPE_UNKNOWN instead.
See Also:Constant Field Values
-
public static final int FLAG_AUDIBILITY_ENFORCED
Deprecated.
See AudioAttributes.FLAG_AUDIBILITY_ENFORCED.
See Also:Constant Field Values
-
public static final int USAGE_ALARM
Deprecated.
See AudioAttributes.USAGE_ALARM.
See Also:Constant Field Values
-
public static final int USAGE_ASSISTANCE_ACCESSIBILITY
Deprecated.
See AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY.
See Also:Constant Field Values
-
public static final int USAGE_ASSISTANCE_NAVIGATION_GUIDANCE
Deprecated.
See AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE.
See Also:Constant Field Values
-
public static final int USAGE_ASSISTANCE_SONIFICATION
Deprecated.
See AudioAttributes.USAGE_ASSISTANCE_SONIFICATION.
See Also:Constant Field Values
-
public static final int USAGE_ASSISTANT
Deprecated.
See AudioAttributes.USAGE_ASSISTANT.
See Also:Constant Field Values
-
public static final int USAGE_GAME
Deprecated.
See AudioAttributes.USAGE_GAME.
See Also:Constant Field Values
-
public static final int USAGE_MEDIA
Deprecated.
See AudioAttributes.USAGE_MEDIA.
See Also:Constant Field Values
-
public static final int USAGE_NOTIFICATION
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION.
See Also:Constant Field Values
-
public static final int USAGE_NOTIFICATION_COMMUNICATION_DELAYED
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_DELAYED.
See Also:Constant Field Values
-
public static final int USAGE_NOTIFICATION_COMMUNICATION_INSTANT
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_INSTANT.
See Also:Constant Field Values
-
public static final int USAGE_NOTIFICATION_COMMUNICATION_REQUEST
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_COMMUNICATION_REQUEST.
See Also:Constant Field Values
-
public static final int USAGE_NOTIFICATION_EVENT
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_EVENT.
See Also:Constant Field Values
-
public static final int USAGE_NOTIFICATION_RINGTONE
Deprecated.
See AudioAttributes.USAGE_NOTIFICATION_RINGTONE.
See Also:Constant Field Values
-
public static final int USAGE_UNKNOWN
Deprecated.
See AudioAttributes.USAGE_UNKNOWN.
See Also:Constant Field Values
-
public static final int USAGE_VOICE_COMMUNICATION
Deprecated.
See AudioAttributes.USAGE_VOICE_COMMUNICATION.
See Also:Constant Field Values
-
public static final int USAGE_VOICE_COMMUNICATION_SIGNALLING
Deprecated.
See AudioAttributes.USAGE_VOICE_COMMUNICATION_SIGNALLING.
See Also:Constant Field Values
-
public static final int ALLOW_CAPTURE_BY_ALL
Deprecated.
See AudioAttributes.ALLOW_CAPTURE_BY_ALL.
See Also:Constant Field Values
-
public static final int ALLOW_CAPTURE_BY_NONE
Deprecated.
See AudioAttributes.ALLOW_CAPTURE_BY_NONE.
See Also:Constant Field Values
-
public static final int ALLOW_CAPTURE_BY_SYSTEM
Deprecated.
See AudioAttributes.ALLOW_CAPTURE_BY_SYSTEM.
See Also:Constant Field Values
-
public static final int BUFFER_FLAG_KEY_FRAME
Deprecated.
Indicates that a buffer holds a synchronization sample. See Also:Constant Field Values
-
public static final int BUFFER_FLAG_END_OF_STREAM
Deprecated.
Flag for empty buffers that signal that the end of the stream was reached. See Also:Constant Field Values
-
public static final int BUFFER_FLAG_FIRST_SAMPLE
Deprecated.
Indicates that a buffer is known to contain the first media sample of the stream. See Also:Constant Field Values
-
public static final int BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA
Deprecated.
Indicates that a buffer has supplemental data. See Also:Constant Field Values
-
public static final int BUFFER_FLAG_LAST_SAMPLE
Deprecated.
Indicates that a buffer is known to contain the last media sample of the stream. See Also:Constant Field Values
-
public static final int BUFFER_FLAG_ENCRYPTED
Deprecated.
Indicates that a buffer is (at least partially) encrypted. See Also:Constant Field Values
-
public static final int BUFFER_FLAG_DECODE_ONLY
Deprecated.
Indicates that a buffer should be decoded but not rendered. See Also:Constant Field Values
-
public static final int VIDEO_OUTPUT_MODE_NONE
Deprecated.
Video decoder output mode is not set. See Also:Constant Field Values
-
public static final int VIDEO_OUTPUT_MODE_YUV
Deprecated.
Video decoder output mode that outputs raw 4:2:0 YUV planes. See Also:Constant Field Values
-
public static final int VIDEO_OUTPUT_MODE_SURFACE_YUV
Deprecated.
Video decoder output mode that renders 4:2:0 YUV planes directly to a surface. See Also:Constant Field Values
-
public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT
Deprecated.
See MediaCodec.VIDEO_SCALING_MODE_SCALE_TO_FIT.
See Also:Constant Field Values
-
public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
Deprecated.
See MediaCodec.VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING.
See Also:Constant Field Values
-
public static final int VIDEO_SCALING_MODE_DEFAULT
Deprecated.
A default video scaling mode for MediaCodec-based renderers.
See Also:Constant Field Values
-
public static final int VIDEO_CHANGE_FRAME_RATE_STRATEGY_OFF
Deprecated.
Strategy to never call Surface.setFrameRate(float, int, int). Use this strategy if you prefer to call Surface.setFrameRate(float, int, int) directly from application code.
See Also:Constant Field Values
-
public static final int VIDEO_CHANGE_FRAME_RATE_STRATEGY_ONLY_IF_SEAMLESS
Deprecated.
Strategy to call Surface.setFrameRate(float, int, int) with Surface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESS when the output frame rate is known.
See Also:Constant Field Values
-
public static final int SELECTION_FLAG_DEFAULT
Deprecated.
Indicates that the track should be selected if user preferences do not state otherwise. See Also:Constant Field Values
-
public static final int SELECTION_FLAG_FORCED
Deprecated.
Indicates that the track should be selected if its language matches the language of the selected audio track and user preferences do not state otherwise. Only applies to text tracks.
Tracks with this flag generally provide translation for elements that don't match the declared language of the selected audio track (e.g. speech in an alien language). See Netflix's summary for more info.
See Also:Constant Field Values
-
public static final int SELECTION_FLAG_AUTOSELECT
Deprecated.
Indicates that the player may choose to play the track in absence of an explicit user preference. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")LANGUAGE_UNDETERMINED
Deprecated.
Represents an undetermined language as an ISO 639-2 language code. See Also:Constant Field Values
-
public static final int CONTENT_TYPE_DASH
Deprecated.
Value representing a DASH manifest. See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int TYPE_DASH
Deprecated.
Use CONTENT_TYPE_DASH instead.
See Also:Constant Field Values
-
public static final int CONTENT_TYPE_SS
Deprecated.
Value representing a Smooth Streaming manifest. See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int TYPE_SS
Deprecated.
Use CONTENT_TYPE_SS instead.
See Also:Constant Field Values
-
public static final int CONTENT_TYPE_HLS
Deprecated.
Value representing an HLS manifest. See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int TYPE_HLS
Deprecated.
Use CONTENT_TYPE_HLS instead.
See Also:Constant Field Values
-
public static final int CONTENT_TYPE_RTSP
Deprecated.
Value representing an RTSP stream. See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int TYPE_RTSP
Deprecated.
Use CONTENT_TYPE_RTSP instead.
See Also:Constant Field Values
-
public static final int CONTENT_TYPE_OTHER
Deprecated.
Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs. See Also:Constant Field Values
-
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static final int TYPE_OTHER
Deprecated.
Use CONTENT_TYPE_OTHER instead.
See Also:Constant Field Values
-
public static final int RESULT_END_OF_INPUT
Deprecated.
A return value for methods where the end of an input was encountered. See Also:Constant Field Values
-
public static final int RESULT_MAX_LENGTH_EXCEEDED
Deprecated.
A return value for methods where the length of parsed data exceeds the maximum length allowed. See Also:Constant Field Values
-
public static final int RESULT_NOTHING_READ
Deprecated.
A return value for methods where nothing was read. See Also:Constant Field Values
-
public static final int RESULT_BUFFER_READ
Deprecated.
A return value for methods where a buffer was read. See Also:Constant Field Values
-
public static final int RESULT_FORMAT_READ
Deprecated.
A return value for methods where a format was read. See Also:Constant Field Values
-
public static final int DATA_TYPE_UNKNOWN
Deprecated.
A data type constant for data of unknown or unspecified type. See Also:Constant Field Values
-
public static final int DATA_TYPE_MEDIA
Deprecated.
A data type constant for media, typically containing media samples. See Also:Constant Field Values
-
public static final int DATA_TYPE_MEDIA_INITIALIZATION
Deprecated.
A data type constant for media, typically containing only initialization data. See Also:Constant Field Values
-
public static final int DATA_TYPE_DRM
Deprecated.
A data type constant for drm or encryption data. See Also:Constant Field Values
-
public static final int DATA_TYPE_MANIFEST
Deprecated.
A data type constant for a manifest file. See Also:Constant Field Values
-
public static final int DATA_TYPE_TIME_SYNCHRONIZATION
Deprecated.
A data type constant for time synchronization data. See Also:Constant Field Values
-
public static final int DATA_TYPE_AD
Deprecated.
A data type constant for ads loader data. See Also:Constant Field Values
-
public static final int DATA_TYPE_MEDIA_PROGRESSIVE_LIVE
Deprecated.
A data type constant for live progressive media streams, typically containing media samples. See Also:Constant Field Values
-
public static final int DATA_TYPE_CUSTOM_BASE
Deprecated.
Applications or extensions may define custom DATA_TYPE_* constants greater than or equal to this value.
See Also:Constant Field Values
-
public static final int TRACK_TYPE_NONE
Deprecated.
A type constant for a fake or empty track. See Also:Constant Field Values
-
public static final int TRACK_TYPE_UNKNOWN
Deprecated.
A type constant for tracks of unknown type. See Also:Constant Field Values
-
public static final int TRACK_TYPE_DEFAULT
Deprecated.
A type constant for tracks of some default type, where the type itself is unknown. See Also:Constant Field Values
-
public static final int TRACK_TYPE_AUDIO
Deprecated.
A type constant for audio tracks. See Also:Constant Field Values
-
public static final int TRACK_TYPE_VIDEO
Deprecated.
A type constant for video tracks. See Also:Constant Field Values
-
public static final int TRACK_TYPE_TEXT
Deprecated.
A type constant for text tracks. See Also:Constant Field Values
-
public static final int TRACK_TYPE_IMAGE
Deprecated.
A type constant for image tracks. See Also:Constant Field Values
-
public static final int TRACK_TYPE_METADATA
Deprecated.
A type constant for metadata tracks. See Also:Constant Field Values
-
public static final int TRACK_TYPE_CAMERA_MOTION
Deprecated.
A type constant for camera motion tracks. See Also:Constant Field Values
-
public static final int TRACK_TYPE_CUSTOM_BASE
Deprecated.
Applications or extensions may define custom TRACK_TYPE_* constants greater than or equal to this value.
See Also:Constant Field Values
-
public static final int SELECTION_REASON_UNKNOWN
Deprecated.
A selection reason constant for selections whose reasons are unknown or unspecified. See Also:Constant Field Values
-
public static final int SELECTION_REASON_INITIAL
Deprecated.
A selection reason constant for an initial track selection. See Also:Constant Field Values
-
public static final int SELECTION_REASON_MANUAL
Deprecated.
A selection reason constant for an manual (i.e. user initiated) track selection. See Also:Constant Field Values
-
public static final int SELECTION_REASON_ADAPTIVE
Deprecated.
A selection reason constant for an adaptive track selection. See Also:Constant Field Values
-
public static final int SELECTION_REASON_TRICK_PLAY
Deprecated.
A selection reason constant for a trick play track selection. See Also:Constant Field Values
-
public static final int SELECTION_REASON_CUSTOM_BASE
Deprecated.
Applications or extensions may define custom SELECTION_REASON_* constants greater than or equal to this value.
See Also:Constant Field Values
-
public static final int DEFAULT_BUFFER_SEGMENT_SIZE
Deprecated.
A default size in bytes for an individual allocation that forms part of a larger buffer. See Also:Constant Field Values
-
public static final long DEFAULT_SEEK_BACK_INCREMENT_MS
Deprecated.
A default seek back increment, in milliseconds. See Also:Constant Field Values
-
public static final long DEFAULT_SEEK_FORWARD_INCREMENT_MS
Deprecated.
A default seek forward increment, in milliseconds. See Also:Constant Field Values
-
public static final long DEFAULT_MAX_SEEK_TO_PREVIOUS_POSITION_MS
Deprecated.
A default maximum position for which a seek to previous will seek to the previous window, in milliseconds. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")CENC_TYPE_cenc
Deprecated.
"cenc" scheme type name as defined in ISO/IEC 23001-7:2016. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")CENC_TYPE_cbc1
Deprecated.
"cbc1" scheme type name as defined in ISO/IEC 23001-7:2016. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")CENC_TYPE_cens
Deprecated.
"cens" scheme type name as defined in ISO/IEC 23001-7:2016. See Also:Constant Field Values
-
public static final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")CENC_TYPE_cbcs
Deprecated.
"cbcs" scheme type name as defined in ISO/IEC 23001-7:2016. See Also:Constant Field Values
-
public static final[UUID](https://developer.android.com/reference/java/util/UUID.html "class or interface in java.util")UUID_NIL
Deprecated.
The Nil UUID as defined by RFC4122.
-
public static final[UUID](https://developer.android.com/reference/java/util/UUID.html "class or interface in java.util")COMMON_PSSH_UUID
Deprecated.
UUID for the W3C Common PSSH box.
-
public static final[UUID](https://developer.android.com/reference/java/util/UUID.html "class or interface in java.util")CLEARKEY_UUID
Deprecated.
UUID for the ClearKey DRM scheme.
ClearKey is supported on Android devices running Android 5.0 (API Level 21) and up.
-
public static final[UUID](https://developer.android.com/reference/java/util/UUID.html "class or interface in java.util")WIDEVINE_UUID
Deprecated.
UUID for the Widevine DRM scheme.
Widevine is supported on Android devices running Android 4.3 (API Level 18) and up.
-
public static final[UUID](https://developer.android.com/reference/java/util/UUID.html "class or interface in java.util")PLAYREADY_UUID
Deprecated.
UUID for the PlayReady DRM scheme.
PlayReady is supported on all AndroidTV devices. Note that most other Android devices do not provide PlayReady support.
-
public static final int STEREO_MODE_MONO
Deprecated.
Indicates Monoscopic stereo layout, used with 360/3D/VR videos. See Also:Constant Field Values
-
public static final int STEREO_MODE_TOP_BOTTOM
Deprecated.
Indicates Top-Bottom stereo layout, used with 360/3D/VR videos. See Also:Constant Field Values
-
public static final int STEREO_MODE_LEFT_RIGHT
Deprecated.
Indicates Left-Right stereo layout, used with 360/3D/VR videos. See Also:Constant Field Values
-
public static final int STEREO_MODE_STEREO_MESH
Deprecated.
Indicates a stereo layout where the left and right eyes have separate meshes, used with 360/3D/VR videos. See Also:Constant Field Values
-
public static final int COLOR_SPACE_BT601
Deprecated.
See MediaFormat.COLOR_STANDARD_BT601_PAL.
See Also:Constant Field Values
-
public static final int COLOR_SPACE_BT709
Deprecated.
See MediaFormat.COLOR_STANDARD_BT709.
See Also:Constant Field Values
-
public static final int COLOR_SPACE_BT2020
Deprecated.
See MediaFormat.COLOR_STANDARD_BT2020.
See Also:Constant Field Values
-
public static final int COLOR_TRANSFER_LINEAR
Deprecated.
See MediaFormat.COLOR_TRANSFER_LINEAR.
See Also:Constant Field Values
-
public static final int COLOR_TRANSFER_SDR
Deprecated.
See MediaFormat.COLOR_TRANSFER_SDR_VIDEO. The SMPTE 170M transfer function.
See Also:Constant Field Values
-
public static final int COLOR_TRANSFER_SRGB
Deprecated.
See DataSpace.TRANSFER_SRGB. The standard RGB transfer function, used for some SDR use-cases like image input.
See Also:Constant Field Values
-
public static final int COLOR_TRANSFER_GAMMA_2_2
Deprecated.
See DataSpace.TRANSFER_GAMMA2_2. The Gamma 2.2 transfer function, used for some SDR use-cases like tone-mapping.
See Also:Constant Field Values
-
public static final int COLOR_TRANSFER_ST2084
Deprecated.
See MediaFormat.COLOR_TRANSFER_ST2084.
See Also:Constant Field Values
-
public static final int COLOR_TRANSFER_HLG
Deprecated.
See MediaFormat.COLOR_TRANSFER_HLG.
See Also:Constant Field Values
-
public static final int COLOR_RANGE_LIMITED
Deprecated.
See MediaFormat.COLOR_RANGE_LIMITED.
See Also:Constant Field Values
-
public static final int COLOR_RANGE_FULL
Deprecated.
See MediaFormat.COLOR_RANGE_FULL.
See Also:Constant Field Values
-
public static final int PROJECTION_RECTANGULAR
Deprecated.
Conventional rectangular projection. See Also:Constant Field Values
-
public static final int PROJECTION_EQUIRECTANGULAR
Deprecated.
Equirectangular spherical projection. See Also:Constant Field Values
-
public static final int PROJECTION_CUBEMAP
Deprecated.
Cube map projection. See Also:Constant Field Values
-
public static final int PROJECTION_MESH
Deprecated.
3-D mesh projection. See Also:Constant Field Values
-
public static final int PRIORITY_PLAYBACK
Deprecated.
Priority for media playback.
Larger values indicate higher priorities.
See Also:Constant Field Values
-
public static final int PRIORITY_DOWNLOAD
Deprecated.
Priority for media downloading.
Larger values indicate higher priorities.
See Also:Constant Field Values
-
public static final int NETWORK_TYPE_UNKNOWN
Deprecated.
Unknown network type. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_OFFLINE
Deprecated.
No network connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_WIFI
Deprecated.
Network type for a Wifi connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_2G
Deprecated.
Network type for a 2G cellular connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_3G
Deprecated.
Network type for a 3G cellular connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_4G
Deprecated.
Network type for a 4G cellular connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_5G_SA
Deprecated.
Network type for a 5G stand-alone (SA) cellular connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_5G_NSA
Deprecated.
Network type for a 5G non-stand-alone (NSA) cellular connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_CELLULAR_UNKNOWN
Deprecated.
Network type for cellular connections which cannot be mapped to one of NETWORK_TYPE_2G, NETWORK_TYPE_3G, or NETWORK_TYPE_4G.
See Also:Constant Field Values
-
public static final int NETWORK_TYPE_ETHERNET
Deprecated.
Network type for an Ethernet connection. See Also:Constant Field Values
-
public static final int NETWORK_TYPE_OTHER
Deprecated.
Network type for other connections which are not Wifi or cellular (e.g. VPN, Bluetooth). See Also:Constant Field Values
-
public static final int WAKE_MODE_NONE
Deprecated.
A wake mode that will not cause the player to hold any locks.
This is suitable for applications that do not play media with the screen off.
See Also:Constant Field Values
-
public static final int WAKE_MODE_LOCAL
Deprecated.
A wake mode that will cause the player to hold a PowerManager.WakeLock during playback.
This is suitable for applications that play media with the screen off and do not load media over wifi.
See Also:Constant Field Values
-
public static final int WAKE_MODE_NETWORK
Deprecated.
A wake mode that will cause the player to hold a PowerManager.WakeLock and a WifiManager.WifiLock during playback.
This is suitable for applications that play media with the screen off and may load media over wifi.
See Also:Constant Field Values
-
public static final int ROLE_FLAG_MAIN
Deprecated.
Indicates a main track. See Also:Constant Field Values
-
public static final int ROLE_FLAG_ALTERNATE
Deprecated.
Indicates an alternate track. For example a video track recorded from an different view point than the main track(s). See Also:Constant Field Values
-
public static final int ROLE_FLAG_SUPPLEMENTARY
Deprecated.
Indicates a supplementary track, meaning the track has lower importance than the main track(s). For example a video track that provides a visual accompaniment to a main audio track. See Also:Constant Field Values
-
public static final int ROLE_FLAG_COMMENTARY
Deprecated.
Indicates the track contains commentary, for example from the director. See Also:Constant Field Values
-
public static final int ROLE_FLAG_DUB
Deprecated.
Indicates the track is in a different language from the original, for example dubbed audio or translated captions. See Also:Constant Field Values
-
public static final int ROLE_FLAG_EMERGENCY
Deprecated.
Indicates the track contains information about a current emergency. See Also:Constant Field Values
-
public static final int ROLE_FLAG_CAPTION
Deprecated.
Indicates the track contains captions. This flag may be set on video tracks to indicate the presence of burned in captions. See Also:Constant Field Values
-
public static final int ROLE_FLAG_SUBTITLE
Deprecated.
Indicates the track contains subtitles. This flag may be set on video tracks to indicate the presence of burned in subtitles. See Also:Constant Field Values
-
public static final int ROLE_FLAG_SIGN
Deprecated.
Indicates the track contains a visual sign-language interpretation of an audio track. See Also:Constant Field Values
-
public static final int ROLE_FLAG_DESCRIBES_VIDEO
Deprecated.
Indicates the track contains an audio or textual description of a video track. See Also:Constant Field Values
-
public static final int ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND
Deprecated.
Indicates the track contains a textual description of music and sound. See Also:Constant Field Values
-
public static final int ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY
Deprecated.
Indicates the track is designed for improved intelligibility of dialogue. See Also:Constant Field Values
-
public static final int ROLE_FLAG_TRANSCRIBES_DIALOG
Deprecated.
Indicates the track contains a transcription of spoken dialog. See Also:Constant Field Values
-
public static final int ROLE_FLAG_EASY_TO_READ
Deprecated.
Indicates the track contains a text that has been edited for ease of reading. See Also:Constant Field Values
-
public static final int ROLE_FLAG_TRICK_PLAY
Deprecated.
Indicates the track is intended for trick play. See Also:Constant Field Values
-
public static final int FORMAT_HANDLED
Deprecated.
The Renderer is capable of rendering the format.
See Also:Constant Field Values
-
public static final int FORMAT_EXCEEDS_CAPABILITIES
Deprecated.
The Renderer is capable of rendering formats with the same MIME type, but the properties of the format exceed the renderer's capabilities. There is a chance the renderer will be able to play the format in practice because some renderers report their capabilities conservatively, but the expected outcome is that playback will fail.
Example: The Renderer is capable of rendering H264 and the format's MIME type is MimeTypes#VIDEO_H264, but the format's resolution exceeds the maximum limit supported by the underlying H264 decoder.
See Also:Constant Field Values
-
public static final int FORMAT_UNSUPPORTED_DRM
Deprecated.
The Renderer is capable of rendering formats with the same MIME type, but is not capable of rendering the format because the format's drm protection is not supported.
Example: The Renderer is capable of rendering H264 and the format's MIME type is MimeTypes.VIDEO_H264, but the format indicates PlayReady drm protection whereas the renderer only supports Widevine.
See Also:Constant Field Values
-
public static final int FORMAT_UNSUPPORTED_SUBTYPE
Deprecated.
The Renderer is a general purpose renderer for formats of the same top-level type, but is not capable of rendering the format or any other format with the same MIME type because the sub-type is not supported.
Example: The Renderer is a general purpose audio renderer and the format's MIME type matches audio/[subtype], but there does not exist a suitable decoder for [subtype].
See Also:Constant Field Values
-
public static final int FORMAT_UNSUPPORTED_TYPE
Deprecated.
The Renderer is not capable of rendering the format, either because it does not support the format's top-level type, or because it's a specialized renderer for a different MIME type.
Example: The Renderer is a general purpose video renderer, but the format has an audio MIME type.
See Also:Constant Field Values
-
@InlineMe(replacement="Util.usToMs(timeUs)",
imports="com.google.android.exoplayer2.util.Util")[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static long usToMs(long timeUs)
Deprecated.
Use Util.usToMs(long).
-
@InlineMe(replacement="Util.msToUs(timeMs)",
imports="com.google.android.exoplayer2.util.Util")[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static long msToUs(long timeMs)
Deprecated.
Use Util.msToUs(long).
-
@InlineMe(replacement="Util.generateAudioSessionIdV21(context)",
imports="com.google.android.exoplayer2.util.Util")[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")@RequiresApi(21)
public static int generateAudioSessionIdV21([Context](https://developer.android.com/reference/android/content/Context.html "class or interface in android.content")context)
Deprecated.
Use Util.generateAudioSessionIdV21(Context).
-
@InlineMe(replacement="Util.getFormatSupportString(formatSupport)",
imports="com.google.android.exoplayer2.util.Util")[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public static[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")getFormatSupportString([@FormatSupport](C.FormatSupport.html "annotation in com.google.android.exoplayer2")@com.google.android.exoplayer2.C.FormatSupport int formatSupport)
Deprecated.
Use Util.getFormatSupportString(int).
-
@InlineMe(replacement="Util.getErrorCodeForMediaDrmErrorCode(mediaDrmErrorCode)",
imports="com.google.android.exoplayer2.util.Util")[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")[@ErrorCode](PlaybackException.ErrorCode.html "annotation in com.google.android.exoplayer2")public static @com.google.android.exoplayer2.PlaybackException.ErrorCode int getErrorCodeForMediaDrmErrorCode(int mediaDrmErrorCode)
Deprecated.
Use Util.getErrorCodeForMediaDrmErrorCode(int).