Class C
- java.lang.Object
-
- com.google.android.exoplayer2.C
-
@Deprecated public final class C extends Object
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 Class Summary
Nested Classes Modifier and Type Class Description static interfaceC.AudioAllowedCapturePolicyDeprecated.Capture policies for audio attributes.static interfaceC.AudioContentTypeDeprecated.Content types for audio attributes.static interfaceC.AudioFlagsDeprecated.Flags for audio attributes.static interfaceC.AudioUsageDeprecated.Usage types for audio attributes.static interfaceC.BufferFlagsDeprecated.Flags which can apply to a buffer containing a media sample.static interfaceC.ColorRangeDeprecated.Video color range.static interfaceC.ColorSpaceDeprecated.Video color spaces, also referred to as color standards.static interfaceC.ColorTransferDeprecated.Video/image color transfer characteristics.static interfaceC.ContentTypeDeprecated.Represents a streaming or other media type.static interfaceC.CryptoModeDeprecated.Crypto modes for a codec.static interfaceC.CryptoTypeDeprecated.Types of crypto implementation.static interfaceC.DataTypeDeprecated.Represents a type of data.static interfaceC.EncodingDeprecated.Represents an audio encoding, or an invalid or unset value.static interfaceC.FormatSupportDeprecated.Level of renderer support for a format.static interfaceC.NetworkTypeDeprecated.Network connection type.static interfaceC.PcmEncodingDeprecated.Represents a PCM audio encoding, or an invalid or unset value.static interfaceC.ProjectionDeprecated.Video projection types.static interfaceC.RoleFlagsDeprecated.Track role flags.static interfaceC.SelectionFlagsDeprecated.Track selection flags.static interfaceC.SelectionReasonDeprecated.Represents a reason for selection.static interfaceC.SpatializationBehaviorDeprecated.Represents the behavior affecting whether spatialization will be used.static interfaceC.StereoModeDeprecated.The stereo mode for 360/3D/VR videos.static interfaceC.StreamTypeDeprecated.Stream types for anAudioTrack.static interfaceC.TrackTypeDeprecated.Represents a type of media track.static interfaceC.VideoChangeFrameRateStrategyDeprecated.Strategies for callingSurface.setFrameRate(float, int, int).static interfaceC.VideoOutputModeDeprecated.Video decoder output modes.static interfaceC.VideoScalingModeDeprecated.Video scaling modes forMediaCodec-based renderers.static interfaceC.VolumeFlagsDeprecated.Volume flags to be used when setting or adjusting device volume.static interfaceC.WakeModeDeprecated.Mode specifying whether the player should hold a WakeLock and a WifiLock.
-
Field Summary
Fields Modifier and Type Field Description static intALLOW_CAPTURE_BY_ALLDeprecated.static intALLOW_CAPTURE_BY_NONEDeprecated.static intALLOW_CAPTURE_BY_SYSTEMDeprecated.static intAUDIO_CONTENT_TYPE_MOVIEDeprecated.static intAUDIO_CONTENT_TYPE_MUSICDeprecated.static intAUDIO_CONTENT_TYPE_SONIFICATIONDeprecated.static intAUDIO_CONTENT_TYPE_SPEECHDeprecated.static intAUDIO_CONTENT_TYPE_UNKNOWNDeprecated.static intAUDIO_SESSION_ID_UNSETDeprecated.Represents an unsetAudioTracksession identifier.static intBITS_PER_BYTEDeprecated.The number of bits per byte.static intBUFFER_FLAG_DECODE_ONLYDeprecated.Indicates that a buffer should be decoded but not rendered.static intBUFFER_FLAG_ENCRYPTEDDeprecated.Indicates that a buffer is (at least partially) encrypted.static intBUFFER_FLAG_END_OF_STREAMDeprecated.Flag for empty buffers that signal that the end of the stream was reached.static intBUFFER_FLAG_FIRST_SAMPLEDeprecated.Indicates that a buffer is known to contain the first media sample of the stream.static intBUFFER_FLAG_HAS_SUPPLEMENTAL_DATADeprecated.Indicates that a buffer has supplemental data.static intBUFFER_FLAG_KEY_FRAMEDeprecated.Indicates that a buffer holds a synchronization sample.static intBUFFER_FLAG_LAST_SAMPLEDeprecated.Indicates that a buffer is known to contain the last media sample of the stream.static intBYTES_PER_FLOATDeprecated.The number of bytes per float.static StringCENC_TYPE_cbc1Deprecated."cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.static StringCENC_TYPE_cbcsDeprecated."cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.static StringCENC_TYPE_cencDeprecated."cenc" scheme type name as defined in ISO/IEC 23001-7:2016.static StringCENC_TYPE_censDeprecated."cens" scheme type name as defined in ISO/IEC 23001-7:2016.static UUIDCLEARKEY_UUIDDeprecated.UUID for the ClearKey DRM scheme.static intCOLOR_RANGE_FULLDeprecated.static intCOLOR_RANGE_LIMITEDDeprecated.static intCOLOR_SPACE_BT2020Deprecated.static intCOLOR_SPACE_BT601Deprecated.static intCOLOR_SPACE_BT709Deprecated.static intCOLOR_TRANSFER_GAMMA_2_2Deprecated.static intCOLOR_TRANSFER_HLGDeprecated.static intCOLOR_TRANSFER_LINEARDeprecated.static intCOLOR_TRANSFER_SDRDeprecated.static intCOLOR_TRANSFER_SRGBDeprecated.static intCOLOR_TRANSFER_ST2084Deprecated.static UUIDCOMMON_PSSH_UUIDDeprecated.UUID for the W3C Common PSSH box.static intCONTENT_TYPE_DASHDeprecated.Value representing a DASH manifest.static intCONTENT_TYPE_HLSDeprecated.Value representing an HLS manifest.static intCONTENT_TYPE_MOVIEDeprecated.UseAUDIO_CONTENT_TYPE_MOVIEinstead.static intCONTENT_TYPE_MUSICDeprecated.UseAUDIO_CONTENT_TYPE_MUSICinstead.static intCONTENT_TYPE_OTHERDeprecated.Value representing files other than DASH, HLS or Smooth Streaming manifests, or RTSP URIs.static intCONTENT_TYPE_RTSPDeprecated.Value representing an RTSP stream.static intCONTENT_TYPE_SONIFICATIONDeprecated.UseAUDIO_CONTENT_TYPE_SONIFICATIONinstead.static intCONTENT_TYPE_SPEECHDeprecated.UseAUDIO_CONTENT_TYPE_SPEECHinstead.static intCONTENT_TYPE_SSDeprecated.Value representing a Smooth Streaming manifest.static intCONTENT_TYPE_UNKNOWNDeprecated.UseAUDIO_CONTENT_TYPE_UNKNOWNinstead.static intCRYPTO_MODE_AES_CBCDeprecated.static intCRYPTO_MODE_AES_CTRDeprecated.static intCRYPTO_MODE_UNENCRYPTEDDeprecated.static intCRYPTO_TYPE_CUSTOM_BASEDeprecated.Applications or extensions may define customCRYPTO_TYPE_*constants greater than or equal to this value.static intCRYPTO_TYPE_FRAMEWORKDeprecated.Framework crypto in which aMediaCodecis configured with aMediaCrypto.static intCRYPTO_TYPE_NONEDeprecated.No crypto.static intCRYPTO_TYPE_UNSUPPORTEDDeprecated.An unsupported crypto type.static intDATA_TYPE_ADDeprecated.A data type constant for ads loader data.static intDATA_TYPE_CUSTOM_BASEDeprecated.Applications or extensions may define customDATA_TYPE_*constants greater than or equal to this value.static intDATA_TYPE_DRMDeprecated.A data type constant for drm or encryption data.static intDATA_TYPE_MANIFESTDeprecated.A data type constant for a manifest file.static intDATA_TYPE_MEDIADeprecated.A data type constant for media, typically containing media samples.static intDATA_TYPE_MEDIA_INITIALIZATIONDeprecated.A data type constant for media, typically containing only initialization data.static intDATA_TYPE_MEDIA_PROGRESSIVE_LIVEDeprecated.A data type constant for live progressive media streams, typically containing media samples.static intDATA_TYPE_TIME_SYNCHRONIZATIONDeprecated.A data type constant for time synchronization data.static intDATA_TYPE_UNKNOWNDeprecated.A data type constant for data of unknown or unspecified type.static intDEFAULT_BUFFER_SEGMENT_SIZEDeprecated.A default size in bytes for an individual allocation that forms part of a larger buffer.static longDEFAULT_MAX_SEEK_TO_PREVIOUS_POSITION_MSDeprecated.A default maximum position for which a seek to previous will seek to the previous window, in milliseconds.static longDEFAULT_SEEK_BACK_INCREMENT_MSDeprecated.A default seek back increment, in milliseconds.static longDEFAULT_SEEK_FORWARD_INCREMENT_MSDeprecated.A default seek forward increment, in milliseconds.static intENCODING_AAC_ELDDeprecated.static intENCODING_AAC_ER_BSACDeprecated.AAC Error Resilient Bit-Sliced Arithmetic Coding.static intENCODING_AAC_HE_V1Deprecated.static intENCODING_AAC_HE_V2Deprecated.static intENCODING_AAC_LCDeprecated.static intENCODING_AAC_XHEDeprecated.static intENCODING_AC3Deprecated.static intENCODING_AC4Deprecated.static intENCODING_DOLBY_TRUEHDDeprecated.static intENCODING_DTSDeprecated.static intENCODING_DTS_HDDeprecated.static intENCODING_DTS_UHD_P2Deprecated.static intENCODING_E_AC3Deprecated.static intENCODING_E_AC3_JOCDeprecated.static intENCODING_INVALIDDeprecated.static intENCODING_MP3Deprecated.static intENCODING_OPUSDeprecated.static intENCODING_PCM_16BITDeprecated.static intENCODING_PCM_16BIT_BIG_ENDIANDeprecated.LikeENCODING_PCM_16BIT, but with the bytes in big endian order.static intENCODING_PCM_24BITDeprecated.PCM encoding with 24 bits per sample.static intENCODING_PCM_32BITDeprecated.PCM encoding with 32 bits per sample.static intENCODING_PCM_8BITDeprecated.static intENCODING_PCM_FLOATDeprecated.static intFLAG_AUDIBILITY_ENFORCEDDeprecated.static intFORMAT_EXCEEDS_CAPABILITIESDeprecated.TheRendereris capable of rendering formats with the same MIME type, but the properties of the format exceed the renderer's capabilities.static intFORMAT_HANDLEDDeprecated.TheRendereris capable of rendering the format.static intFORMAT_UNSUPPORTED_DRMDeprecated.TheRendereris 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 intFORMAT_UNSUPPORTED_SUBTYPEDeprecated.TheRendereris 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 intFORMAT_UNSUPPORTED_TYPEDeprecated.TheRendereris 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 intINDEX_UNSETDeprecated.Represents an unset or unknown index or byte position.static StringLANGUAGE_UNDETERMINEDDeprecated.Represents an undetermined language as an ISO 639-2 language code.static intLENGTH_UNSETDeprecated.Represents an unset or unknown length.static longMICROS_PER_SECONDDeprecated.The number of microseconds in one second.static longMILLIS_PER_SECONDDeprecated.The number of milliseconds in one second.static longNANOS_PER_SECONDDeprecated.The number of nanoseconds in one second.static intNETWORK_TYPE_2GDeprecated.Network type for a 2G cellular connection.static intNETWORK_TYPE_3GDeprecated.Network type for a 3G cellular connection.static intNETWORK_TYPE_4GDeprecated.Network type for a 4G cellular connection.static intNETWORK_TYPE_5G_NSADeprecated.Network type for a 5G non-stand-alone (NSA) cellular connection.static intNETWORK_TYPE_5G_SADeprecated.Network type for a 5G stand-alone (SA) cellular connection.static intNETWORK_TYPE_CELLULAR_UNKNOWNDeprecated.Network type for cellular connections which cannot be mapped to one ofNETWORK_TYPE_2G,NETWORK_TYPE_3G, orNETWORK_TYPE_4G.static intNETWORK_TYPE_ETHERNETDeprecated.Network type for an Ethernet connection.static intNETWORK_TYPE_OFFLINEDeprecated.No network connection.static intNETWORK_TYPE_OTHERDeprecated.Network type for other connections which are not Wifi or cellular (e.g.static intNETWORK_TYPE_UNKNOWNDeprecated.Unknown network type.static intNETWORK_TYPE_WIFIDeprecated.Network type for a Wifi connection.static intPERCENTAGE_UNSETDeprecated.Represents an unset or unknown percentage.static UUIDPLAYREADY_UUIDDeprecated.UUID for the PlayReady DRM scheme.static intPOSITION_UNSETDeprecated.UseINDEX_UNSET.static intPRIORITY_DOWNLOADDeprecated.Priority for media downloading.static intPRIORITY_PLAYBACKDeprecated.Priority for media playback.static intPROJECTION_CUBEMAPDeprecated.Cube map projection.static intPROJECTION_EQUIRECTANGULARDeprecated.Equirectangular spherical projection.static intPROJECTION_MESHDeprecated.3-D mesh projection.static intPROJECTION_RECTANGULARDeprecated.Conventional rectangular projection.static floatRATE_UNSETDeprecated.Represents an unset or unknown rate.static intRATE_UNSET_INTDeprecated.Represents an unset or unknown integer rate.static intRESULT_BUFFER_READDeprecated.A return value for methods where a buffer was read.static intRESULT_END_OF_INPUTDeprecated.A return value for methods where the end of an input was encountered.static intRESULT_FORMAT_READDeprecated.A return value for methods where a format was read.static intRESULT_MAX_LENGTH_EXCEEDEDDeprecated.A return value for methods where the length of parsed data exceeds the maximum length allowed.static intRESULT_NOTHING_READDeprecated.A return value for methods where nothing was read.static intROLE_FLAG_ALTERNATEDeprecated.Indicates an alternate track.static intROLE_FLAG_CAPTIONDeprecated.Indicates the track contains captions.static intROLE_FLAG_COMMENTARYDeprecated.Indicates the track contains commentary, for example from the director.static intROLE_FLAG_DESCRIBES_MUSIC_AND_SOUNDDeprecated.Indicates the track contains a textual description of music and sound.static intROLE_FLAG_DESCRIBES_VIDEODeprecated.Indicates the track contains an audio or textual description of a video track.static intROLE_FLAG_DUBDeprecated.Indicates the track is in a different language from the original, for example dubbed audio or translated captions.static intROLE_FLAG_EASY_TO_READDeprecated.Indicates the track contains a text that has been edited for ease of reading.static intROLE_FLAG_EMERGENCYDeprecated.Indicates the track contains information about a current emergency.static intROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITYDeprecated.Indicates the track is designed for improved intelligibility of dialogue.static intROLE_FLAG_MAINDeprecated.Indicates a main track.static intROLE_FLAG_SIGNDeprecated.Indicates the track contains a visual sign-language interpretation of an audio track.static intROLE_FLAG_SUBTITLEDeprecated.Indicates the track contains subtitles.static intROLE_FLAG_SUPPLEMENTARYDeprecated.Indicates a supplementary track, meaning the track has lower importance than the main track(s).static intROLE_FLAG_TRANSCRIBES_DIALOGDeprecated.Indicates the track contains a transcription of spoken dialog.static intROLE_FLAG_TRICK_PLAYDeprecated.Indicates the track is intended for trick play.static StringSANS_SERIF_NAMEDeprecated.The name of the sans-serif font family.static intSELECTION_FLAG_AUTOSELECTDeprecated.Indicates that the player may choose to play the track in absence of an explicit user preference.static intSELECTION_FLAG_DEFAULTDeprecated.Indicates that the track should be selected if user preferences do not state otherwise.static intSELECTION_FLAG_FORCEDDeprecated.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 intSELECTION_REASON_ADAPTIVEDeprecated.A selection reason constant for an adaptive track selection.static intSELECTION_REASON_CUSTOM_BASEDeprecated.Applications or extensions may define customSELECTION_REASON_*constants greater than or equal to this value.static intSELECTION_REASON_INITIALDeprecated.A selection reason constant for an initial track selection.static intSELECTION_REASON_MANUALDeprecated.A selection reason constant for an manual (i.e.static intSELECTION_REASON_TRICK_PLAYDeprecated.A selection reason constant for a trick play track selection.static intSELECTION_REASON_UNKNOWNDeprecated.A selection reason constant for selections whose reasons are unknown or unspecified.static StringSERIF_NAMEDeprecated.The name of the serif font family.static intSPATIALIZATION_BEHAVIOR_AUTODeprecated.static intSPATIALIZATION_BEHAVIOR_NEVERDeprecated.static StringSSAI_SCHEMEDeprecated.TheURI schemeused for content with server side ad insertion.static intSTEREO_MODE_LEFT_RIGHTDeprecated.Indicates Left-Right stereo layout, used with 360/3D/VR videos.static intSTEREO_MODE_MONODeprecated.Indicates Monoscopic stereo layout, used with 360/3D/VR videos.static intSTEREO_MODE_STEREO_MESHDeprecated.Indicates a stereo layout where the left and right eyes have separate meshes, used with 360/3D/VR videos.static intSTEREO_MODE_TOP_BOTTOMDeprecated.Indicates Top-Bottom stereo layout, used with 360/3D/VR videos.static intSTREAM_TYPE_ALARMDeprecated.static intSTREAM_TYPE_DEFAULTDeprecated.The default stream type used by audio renderers.static intSTREAM_TYPE_DTMFDeprecated.static intSTREAM_TYPE_MUSICDeprecated.static intSTREAM_TYPE_NOTIFICATIONDeprecated.static intSTREAM_TYPE_RINGDeprecated.static intSTREAM_TYPE_SYSTEMDeprecated.static intSTREAM_TYPE_VOICE_CALLDeprecated.static longTIME_END_OF_SOURCEDeprecated.Special constant representing a time corresponding to the end of a source.static longTIME_UNSETDeprecated.Special constant representing an unset or unknown time or duration.static intTRACK_TYPE_AUDIODeprecated.A type constant for audio tracks.static intTRACK_TYPE_CAMERA_MOTIONDeprecated.A type constant for camera motion tracks.static intTRACK_TYPE_CUSTOM_BASEDeprecated.Applications or extensions may define customTRACK_TYPE_*constants greater than or equal to this value.static intTRACK_TYPE_DEFAULTDeprecated.A type constant for tracks of some default type, where the type itself is unknown.static intTRACK_TYPE_IMAGEDeprecated.A type constant for image tracks.static intTRACK_TYPE_METADATADeprecated.A type constant for metadata tracks.static intTRACK_TYPE_NONEDeprecated.A type constant for a fake or empty track.static intTRACK_TYPE_TEXTDeprecated.A type constant for text tracks.static intTRACK_TYPE_UNKNOWNDeprecated.A type constant for tracks of unknown type.static intTRACK_TYPE_VIDEODeprecated.A type constant for video tracks.static intTYPE_DASHDeprecated.UseCONTENT_TYPE_DASHinstead.static intTYPE_HLSDeprecated.UseCONTENT_TYPE_HLSinstead.static intTYPE_OTHERDeprecated.UseCONTENT_TYPE_OTHERinstead.static intTYPE_RTSPDeprecated.UseCONTENT_TYPE_RTSPinstead.static intTYPE_SSDeprecated.UseCONTENT_TYPE_SSinstead.static intUSAGE_ALARMDeprecated.static intUSAGE_ASSISTANCE_ACCESSIBILITYDeprecated.static intUSAGE_ASSISTANCE_NAVIGATION_GUIDANCEDeprecated.static intUSAGE_ASSISTANCE_SONIFICATIONDeprecated.static intUSAGE_ASSISTANTDeprecated.static intUSAGE_GAMEDeprecated.static intUSAGE_MEDIADeprecated.static intUSAGE_NOTIFICATIONDeprecated.static intUSAGE_NOTIFICATION_COMMUNICATION_DELAYEDDeprecated.static intUSAGE_NOTIFICATION_COMMUNICATION_INSTANTDeprecated.static intUSAGE_NOTIFICATION_COMMUNICATION_REQUESTDeprecated.static intUSAGE_NOTIFICATION_EVENTDeprecated.static intUSAGE_NOTIFICATION_RINGTONEDeprecated.static intUSAGE_UNKNOWNDeprecated.static intUSAGE_VOICE_COMMUNICATIONDeprecated.static intUSAGE_VOICE_COMMUNICATION_SIGNALLINGDeprecated.static UUIDUUID_NILDeprecated.The Nil UUID as defined by RFC4122.static intVIDEO_CHANGE_FRAME_RATE_STRATEGY_OFFDeprecated.Strategy to never callSurface.setFrameRate(float, int, int).static intVIDEO_CHANGE_FRAME_RATE_STRATEGY_ONLY_IF_SEAMLESSDeprecated.Strategy to callSurface.setFrameRate(float, int, int)withSurface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESSwhen the output frame rate is known.static intVIDEO_OUTPUT_MODE_NONEDeprecated.Video decoder output mode is not set.static intVIDEO_OUTPUT_MODE_SURFACE_YUVDeprecated.Video decoder output mode that renders 4:2:0 YUV planes directly to a surface.static intVIDEO_OUTPUT_MODE_YUVDeprecated.Video decoder output mode that outputs raw 4:2:0 YUV planes.static intVIDEO_SCALING_MODE_DEFAULTDeprecated.A default video scaling mode forMediaCodec-based renderers.static intVIDEO_SCALING_MODE_SCALE_TO_FITDeprecated.static intVIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPINGDeprecated.static intVOLUME_FLAG_ALLOW_RINGER_MODESDeprecated.static intVOLUME_FLAG_PLAY_SOUNDDeprecated.static intVOLUME_FLAG_REMOVE_SOUND_AND_VIBRATEDeprecated.static intVOLUME_FLAG_SHOW_UIDeprecated.static intVOLUME_FLAG_VIBRATEDeprecated.static intWAKE_MODE_LOCALDeprecated.A wake mode that will cause the player to hold aPowerManager.WakeLockduring playback.static intWAKE_MODE_NETWORKDeprecated.A wake mode that will cause the player to hold aPowerManager.WakeLockand aWifiManager.WifiLockduring playback.static intWAKE_MODE_NONEDeprecated.A wake mode that will not cause the player to hold any locks.static UUIDWIDEVINE_UUIDDeprecated.UUID for the Widevine DRM scheme.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static intgenerateAudioSessionIdV21(Context context)Deprecated.static @com.google.android.exoplayer2.PlaybackException.ErrorCode intgetErrorCodeForMediaDrmErrorCode(int mediaDrmErrorCode)Deprecated.static StringgetFormatSupportString(@com.google.android.exoplayer2.C.FormatSupport int formatSupport)Deprecated.static longmsToUs(long timeMs)Deprecated.UseUtil.msToUs(long).static longusToMs(long timeUs)Deprecated.UseUtil.usToMs(long).
-
-
-
Field Detail
-
TIME_END_OF_SOURCE
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
-
TIME_UNSET
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
-
INDEX_UNSET
public static final int INDEX_UNSET
Deprecated.Represents an unset or unknown index or byte position.- See Also:
- Constant Field Values
-
POSITION_UNSET
@Deprecated public static final int POSITION_UNSET
Deprecated.UseINDEX_UNSET.- See Also:
- Constant Field Values
-
RATE_UNSET
public static final float RATE_UNSET
Deprecated.Represents an unset or unknown rate.- See Also:
- Constant Field Values
-
RATE_UNSET_INT
public static final int RATE_UNSET_INT
Deprecated.Represents an unset or unknown integer rate.- See Also:
- Constant Field Values
-
LENGTH_UNSET
public static final int LENGTH_UNSET
Deprecated.Represents an unset or unknown length.- See Also:
- Constant Field Values
-
PERCENTAGE_UNSET
public static final int PERCENTAGE_UNSET
Deprecated.Represents an unset or unknown percentage.- See Also:
- Constant Field Values
-
MILLIS_PER_SECOND
public static final long MILLIS_PER_SECOND
Deprecated.The number of milliseconds in one second.- See Also:
- Constant Field Values
-
MICROS_PER_SECOND
public static final long MICROS_PER_SECOND
Deprecated.The number of microseconds in one second.- See Also:
- Constant Field Values
-
NANOS_PER_SECOND
public static final long NANOS_PER_SECOND
Deprecated.The number of nanoseconds in one second.- See Also:
- Constant Field Values
-
BITS_PER_BYTE
public static final int BITS_PER_BYTE
Deprecated.The number of bits per byte.- See Also:
- Constant Field Values
-
BYTES_PER_FLOAT
public static final int BYTES_PER_FLOAT
Deprecated.The number of bytes per float.- See Also:
- Constant Field Values
-
SERIF_NAME
public static final String SERIF_NAME
Deprecated.The name of the serif font family.- See Also:
- Constant Field Values
-
SANS_SERIF_NAME
public static final String SANS_SERIF_NAME
Deprecated.The name of the sans-serif font family.- See Also:
- Constant Field Values
-
SSAI_SCHEME
public static final String SSAI_SCHEME
Deprecated.TheURI schemeused for content with server side ad insertion.- See Also:
- Constant Field Values
-
CRYPTO_TYPE_NONE
public static final int CRYPTO_TYPE_NONE
Deprecated.No crypto.- See Also:
- Constant Field Values
-
CRYPTO_TYPE_UNSUPPORTED
public static final int CRYPTO_TYPE_UNSUPPORTED
Deprecated.An unsupported crypto type.- See Also:
- Constant Field Values
-
CRYPTO_TYPE_FRAMEWORK
public static final int CRYPTO_TYPE_FRAMEWORK
Deprecated.Framework crypto in which aMediaCodecis configured with aMediaCrypto.- See Also:
- Constant Field Values
-
CRYPTO_TYPE_CUSTOM_BASE
public static final int CRYPTO_TYPE_CUSTOM_BASE
Deprecated.Applications or extensions may define customCRYPTO_TYPE_*constants greater than or equal to this value.- See Also:
- Constant Field Values
-
CRYPTO_MODE_UNENCRYPTED
public static final int CRYPTO_MODE_UNENCRYPTED
Deprecated.- See Also:
- Constant Field Values
-
CRYPTO_MODE_AES_CTR
public static final int CRYPTO_MODE_AES_CTR
Deprecated.- See Also:
- Constant Field Values
-
CRYPTO_MODE_AES_CBC
public static final int CRYPTO_MODE_AES_CBC
Deprecated.- See Also:
- Constant Field Values
-
AUDIO_SESSION_ID_UNSET
public static final int AUDIO_SESSION_ID_UNSET
Deprecated.Represents an unsetAudioTracksession identifier. Equal toAudioManager.AUDIO_SESSION_ID_GENERATE.- See Also:
- Constant Field Values
-
ENCODING_INVALID
public static final int ENCODING_INVALID
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_PCM_8BIT
public static final int ENCODING_PCM_8BIT
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_PCM_16BIT
public static final int ENCODING_PCM_16BIT
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_PCM_16BIT_BIG_ENDIAN
public static final int ENCODING_PCM_16BIT_BIG_ENDIAN
Deprecated.LikeENCODING_PCM_16BIT, but with the bytes in big endian order.- See Also:
- Constant Field Values
-
ENCODING_PCM_24BIT
public static final int ENCODING_PCM_24BIT
Deprecated.PCM encoding with 24 bits per sample.- See Also:
- Constant Field Values
-
ENCODING_PCM_32BIT
public static final int ENCODING_PCM_32BIT
Deprecated.PCM encoding with 32 bits per sample.- See Also:
- Constant Field Values
-
ENCODING_PCM_FLOAT
public static final int ENCODING_PCM_FLOAT
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_MP3
public static final int ENCODING_MP3
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_AAC_LC
public static final int ENCODING_AAC_LC
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_AAC_HE_V1
public static final int ENCODING_AAC_HE_V1
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_AAC_HE_V2
public static final int ENCODING_AAC_HE_V2
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_AAC_XHE
public static final int ENCODING_AAC_XHE
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_AAC_ELD
public static final int ENCODING_AAC_ELD
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_AAC_ER_BSAC
public static final int ENCODING_AAC_ER_BSAC
Deprecated.AAC Error Resilient Bit-Sliced Arithmetic Coding.- See Also:
- Constant Field Values
-
ENCODING_AC3
public static final int ENCODING_AC3
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_E_AC3
public static final int ENCODING_E_AC3
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_E_AC3_JOC
public static final int ENCODING_E_AC3_JOC
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_AC4
public static final int ENCODING_AC4
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_DTS
public static final int ENCODING_DTS
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_DTS_HD
public static final int ENCODING_DTS_HD
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_DTS_UHD_P2
public static final int ENCODING_DTS_UHD_P2
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_DOLBY_TRUEHD
public static final int ENCODING_DOLBY_TRUEHD
Deprecated.- See Also:
- Constant Field Values
-
ENCODING_OPUS
public static final int ENCODING_OPUS
Deprecated.- See Also:
- Constant Field Values
-
SPATIALIZATION_BEHAVIOR_AUTO
public static final int SPATIALIZATION_BEHAVIOR_AUTO
Deprecated.- See Also:
- Constant Field Values
-
SPATIALIZATION_BEHAVIOR_NEVER
public static final int SPATIALIZATION_BEHAVIOR_NEVER
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_ALARM
public static final int STREAM_TYPE_ALARM
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_DTMF
public static final int STREAM_TYPE_DTMF
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_MUSIC
public static final int STREAM_TYPE_MUSIC
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_NOTIFICATION
public static final int STREAM_TYPE_NOTIFICATION
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_RING
public static final int STREAM_TYPE_RING
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_SYSTEM
public static final int STREAM_TYPE_SYSTEM
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_VOICE_CALL
public static final int STREAM_TYPE_VOICE_CALL
Deprecated.- See Also:
- Constant Field Values
-
STREAM_TYPE_DEFAULT
public static final int STREAM_TYPE_DEFAULT
Deprecated.The default stream type used by audio renderers. Equal toSTREAM_TYPE_MUSIC.- See Also:
- Constant Field Values
-
VOLUME_FLAG_SHOW_UI
public static final int VOLUME_FLAG_SHOW_UI
Deprecated.- See Also:
- Constant Field Values
-
VOLUME_FLAG_ALLOW_RINGER_MODES
public static final int VOLUME_FLAG_ALLOW_RINGER_MODES
Deprecated.- See Also:
- Constant Field Values
-
VOLUME_FLAG_PLAY_SOUND
public static final int VOLUME_FLAG_PLAY_SOUND
Deprecated.- See Also:
- Constant Field Values
-
VOLUME_FLAG_REMOVE_SOUND_AND_VIBRATE
public static final int VOLUME_FLAG_REMOVE_SOUND_AND_VIBRATE
Deprecated.- See Also:
- Constant Field Values
-
VOLUME_FLAG_VIBRATE
public static final int VOLUME_FLAG_VIBRATE
Deprecated.- See Also:
- Constant Field Values
-
AUDIO_CONTENT_TYPE_MOVIE
public static final int AUDIO_CONTENT_TYPE_MOVIE
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_TYPE_MOVIE
@Deprecated public static final int CONTENT_TYPE_MOVIE
Deprecated.UseAUDIO_CONTENT_TYPE_MOVIEinstead.- See Also:
- Constant Field Values
-
AUDIO_CONTENT_TYPE_MUSIC
public static final int AUDIO_CONTENT_TYPE_MUSIC
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_TYPE_MUSIC
@Deprecated public static final int CONTENT_TYPE_MUSIC
Deprecated.UseAUDIO_CONTENT_TYPE_MUSICinstead.- See Also:
- Constant Field Values
-
AUDIO_CONTENT_TYPE_SONIFICATION
public static final int AUDIO_CONTENT_TYPE_SONIFICATION
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_TYPE_SONIFICATION
@Deprecated public static final int CONTENT_TYPE_SONIFICATION
Deprecated.UseAUDIO_CONTENT_TYPE_SONIFICATIONinstead.- See Also:
- Constant Field Values
-
AUDIO_CONTENT_TYPE_SPEECH
public static final int AUDIO_CONTENT_TYPE_SPEECH
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_TYPE_SPEECH
@Deprecated public static final int CONTENT_TYPE_SPEECH
Deprecated.UseAUDIO_CONTENT_TYPE_SPEECHinstead.- See Also:
- Constant Field Values
-
AUDIO_CONTENT_TYPE_UNKNOWN
public static final int AUDIO_CONTENT_TYPE_UNKNOWN
Deprecated.- See Also:
- Constant Field Values
-
CONTENT_TYPE_UNKNOWN
@Deprecated public static final int CONTENT_TYPE_UNKNOWN
Deprecated.UseAUDIO_CONTENT_TYPE_UNKNOWNinstead.- See Also:
- Constant Field Values
-
FLAG_AUDIBILITY_ENFORCED
public static final int FLAG_AUDIBILITY_ENFORCED
Deprecated.- See Also:
- Constant Field Values
-
USAGE_ALARM
public static final int USAGE_ALARM
Deprecated.- See Also:
- Constant Field Values
-
USAGE_ASSISTANCE_ACCESSIBILITY
public static final int USAGE_ASSISTANCE_ACCESSIBILITY
Deprecated.- See Also:
- Constant Field Values
-
USAGE_ASSISTANCE_NAVIGATION_GUIDANCE
public static final int USAGE_ASSISTANCE_NAVIGATION_GUIDANCE
Deprecated.- See Also:
- Constant Field Values
-
USAGE_ASSISTANCE_SONIFICATION
public static final int USAGE_ASSISTANCE_SONIFICATION
Deprecated.- See Also:
- Constant Field Values
-
USAGE_ASSISTANT
public static final int USAGE_ASSISTANT
Deprecated.- See Also:
- Constant Field Values
-
USAGE_GAME
public static final int USAGE_GAME
Deprecated.- See Also:
- Constant Field Values
-
USAGE_MEDIA
public static final int USAGE_MEDIA
Deprecated.- See Also:
- Constant Field Values
-
USAGE_NOTIFICATION
public static final int USAGE_NOTIFICATION
Deprecated.- See Also:
- Constant Field Values
-
USAGE_NOTIFICATION_COMMUNICATION_DELAYED
public static final int USAGE_NOTIFICATION_COMMUNICATION_DELAYED
Deprecated.- See Also:
- Constant Field Values
-
USAGE_NOTIFICATION_COMMUNICATION_INSTANT
public static final int USAGE_NOTIFICATION_COMMUNICATION_INSTANT
Deprecated.- See Also:
- Constant Field Values
-
USAGE_NOTIFICATION_COMMUNICATION_REQUEST
public static final int USAGE_NOTIFICATION_COMMUNICATION_REQUEST
Deprecated.- See Also:
- Constant Field Values
-
USAGE_NOTIFICATION_EVENT
public static final int USAGE_NOTIFICATION_EVENT
Deprecated.- See Also:
- Constant Field Values
-
USAGE_NOTIFICATION_RINGTONE
public static final int USAGE_NOTIFICATION_RINGTONE
Deprecated.- See Also:
- Constant Field Values
-
USAGE_UNKNOWN
public static final int USAGE_UNKNOWN
Deprecated.- See Also:
- Constant Field Values
-
USAGE_VOICE_COMMUNICATION
public static final int USAGE_VOICE_COMMUNICATION
Deprecated.- See Also:
- Constant Field Values
-
USAGE_VOICE_COMMUNICATION_SIGNALLING
public static final int USAGE_VOICE_COMMUNICATION_SIGNALLING
Deprecated.- See Also:
- Constant Field Values
-
ALLOW_CAPTURE_BY_ALL
public static final int ALLOW_CAPTURE_BY_ALL
Deprecated.- See Also:
- Constant Field Values
-
ALLOW_CAPTURE_BY_NONE
public static final int ALLOW_CAPTURE_BY_NONE
Deprecated.- See Also:
- Constant Field Values
-
ALLOW_CAPTURE_BY_SYSTEM
public static final int ALLOW_CAPTURE_BY_SYSTEM
Deprecated.- See Also:
- Constant Field Values
-
BUFFER_FLAG_KEY_FRAME
public static final int BUFFER_FLAG_KEY_FRAME
Deprecated.Indicates that a buffer holds a synchronization sample.- See Also:
- Constant Field Values
-
BUFFER_FLAG_END_OF_STREAM
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
-
BUFFER_FLAG_FIRST_SAMPLE
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
-
BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA
public static final int BUFFER_FLAG_HAS_SUPPLEMENTAL_DATA
Deprecated.Indicates that a buffer has supplemental data.- See Also:
- Constant Field Values
-
BUFFER_FLAG_LAST_SAMPLE
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
-
BUFFER_FLAG_ENCRYPTED
public static final int BUFFER_FLAG_ENCRYPTED
Deprecated.Indicates that a buffer is (at least partially) encrypted.- See Also:
- Constant Field Values
-
BUFFER_FLAG_DECODE_ONLY
public static final int BUFFER_FLAG_DECODE_ONLY
Deprecated.Indicates that a buffer should be decoded but not rendered.- See Also:
- Constant Field Values
-
VIDEO_OUTPUT_MODE_NONE
public static final int VIDEO_OUTPUT_MODE_NONE
Deprecated.Video decoder output mode is not set.- See Also:
- Constant Field Values
-
VIDEO_OUTPUT_MODE_YUV
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
-
VIDEO_OUTPUT_MODE_SURFACE_YUV
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
-
VIDEO_SCALING_MODE_SCALE_TO_FIT
public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT
Deprecated.- See Also:
- Constant Field Values
-
VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
public static final int VIDEO_SCALING_MODE_SCALE_TO_FIT_WITH_CROPPING
Deprecated.- See Also:
- Constant Field Values
-
VIDEO_SCALING_MODE_DEFAULT
public static final int VIDEO_SCALING_MODE_DEFAULT
Deprecated.A default video scaling mode forMediaCodec-based renderers.- See Also:
- Constant Field Values
-
VIDEO_CHANGE_FRAME_RATE_STRATEGY_OFF
public static final int VIDEO_CHANGE_FRAME_RATE_STRATEGY_OFF
Deprecated.Strategy to never callSurface.setFrameRate(float, int, int). Use this strategy if you prefer to callSurface.setFrameRate(float, int, int)directly from application code.- See Also:
- Constant Field Values
-
VIDEO_CHANGE_FRAME_RATE_STRATEGY_ONLY_IF_SEAMLESS
public static final int VIDEO_CHANGE_FRAME_RATE_STRATEGY_ONLY_IF_SEAMLESS
Deprecated.Strategy to callSurface.setFrameRate(float, int, int)withSurface.CHANGE_FRAME_RATE_ONLY_IF_SEAMLESSwhen the output frame rate is known.- See Also:
- Constant Field Values
-
SELECTION_FLAG_DEFAULT
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
-
SELECTION_FLAG_FORCED
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
-
SELECTION_FLAG_AUTOSELECT
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
-
LANGUAGE_UNDETERMINED
public static final String LANGUAGE_UNDETERMINED
Deprecated.Represents an undetermined language as an ISO 639-2 language code.- See Also:
- Constant Field Values
-
CONTENT_TYPE_DASH
public static final int CONTENT_TYPE_DASH
Deprecated.Value representing a DASH manifest.- See Also:
- Constant Field Values
-
TYPE_DASH
@Deprecated public static final int TYPE_DASH
Deprecated.UseCONTENT_TYPE_DASHinstead.- See Also:
- Constant Field Values
-
CONTENT_TYPE_SS
public static final int CONTENT_TYPE_SS
Deprecated.Value representing a Smooth Streaming manifest.- See Also:
- Constant Field Values
-
TYPE_SS
@Deprecated public static final int TYPE_SS
Deprecated.UseCONTENT_TYPE_SSinstead.- See Also:
- Constant Field Values
-
CONTENT_TYPE_HLS
public static final int CONTENT_TYPE_HLS
Deprecated.Value representing an HLS manifest.- See Also:
- Constant Field Values
-
TYPE_HLS
@Deprecated public static final int TYPE_HLS
Deprecated.UseCONTENT_TYPE_HLSinstead.- See Also:
- Constant Field Values
-
CONTENT_TYPE_RTSP
public static final int CONTENT_TYPE_RTSP
Deprecated.Value representing an RTSP stream.- See Also:
- Constant Field Values
-
TYPE_RTSP
@Deprecated public static final int TYPE_RTSP
Deprecated.UseCONTENT_TYPE_RTSPinstead.- See Also:
- Constant Field Values
-
CONTENT_TYPE_OTHER
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
-
TYPE_OTHER
@Deprecated public static final int TYPE_OTHER
Deprecated.UseCONTENT_TYPE_OTHERinstead.- See Also:
- Constant Field Values
-
RESULT_END_OF_INPUT
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
-
RESULT_MAX_LENGTH_EXCEEDED
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
-
RESULT_NOTHING_READ
public static final int RESULT_NOTHING_READ
Deprecated.A return value for methods where nothing was read.- See Also:
- Constant Field Values
-
RESULT_BUFFER_READ
public static final int RESULT_BUFFER_READ
Deprecated.A return value for methods where a buffer was read.- See Also:
- Constant Field Values
-
RESULT_FORMAT_READ
public static final int RESULT_FORMAT_READ
Deprecated.A return value for methods where a format was read.- See Also:
- Constant Field Values
-
DATA_TYPE_UNKNOWN
public static final int DATA_TYPE_UNKNOWN
Deprecated.A data type constant for data of unknown or unspecified type.- See Also:
- Constant Field Values
-
DATA_TYPE_MEDIA
public static final int DATA_TYPE_MEDIA
Deprecated.A data type constant for media, typically containing media samples.- See Also:
- Constant Field Values
-
DATA_TYPE_MEDIA_INITIALIZATION
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
-
DATA_TYPE_DRM
public static final int DATA_TYPE_DRM
Deprecated.A data type constant for drm or encryption data.- See Also:
- Constant Field Values
-
DATA_TYPE_MANIFEST
public static final int DATA_TYPE_MANIFEST
Deprecated.A data type constant for a manifest file.- See Also:
- Constant Field Values
-
DATA_TYPE_TIME_SYNCHRONIZATION
public static final int DATA_TYPE_TIME_SYNCHRONIZATION
Deprecated.A data type constant for time synchronization data.- See Also:
- Constant Field Values
-
DATA_TYPE_AD
public static final int DATA_TYPE_AD
Deprecated.A data type constant for ads loader data.- See Also:
- Constant Field Values
-
DATA_TYPE_MEDIA_PROGRESSIVE_LIVE
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
-
DATA_TYPE_CUSTOM_BASE
public static final int DATA_TYPE_CUSTOM_BASE
Deprecated.Applications or extensions may define customDATA_TYPE_*constants greater than or equal to this value.- See Also:
- Constant Field Values
-
TRACK_TYPE_NONE
public static final int TRACK_TYPE_NONE
Deprecated.A type constant for a fake or empty track.- See Also:
- Constant Field Values
-
TRACK_TYPE_UNKNOWN
public static final int TRACK_TYPE_UNKNOWN
Deprecated.A type constant for tracks of unknown type.- See Also:
- Constant Field Values
-
TRACK_TYPE_DEFAULT
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
-
TRACK_TYPE_AUDIO
public static final int TRACK_TYPE_AUDIO
Deprecated.A type constant for audio tracks.- See Also:
- Constant Field Values
-
TRACK_TYPE_VIDEO
public static final int TRACK_TYPE_VIDEO
Deprecated.A type constant for video tracks.- See Also:
- Constant Field Values
-
TRACK_TYPE_TEXT
public static final int TRACK_TYPE_TEXT
Deprecated.A type constant for text tracks.- See Also:
- Constant Field Values
-
TRACK_TYPE_IMAGE
public static final int TRACK_TYPE_IMAGE
Deprecated.A type constant for image tracks.- See Also:
- Constant Field Values
-
TRACK_TYPE_METADATA
public static final int TRACK_TYPE_METADATA
Deprecated.A type constant for metadata tracks.- See Also:
- Constant Field Values
-
TRACK_TYPE_CAMERA_MOTION
public static final int TRACK_TYPE_CAMERA_MOTION
Deprecated.A type constant for camera motion tracks.- See Also:
- Constant Field Values
-
TRACK_TYPE_CUSTOM_BASE
public static final int TRACK_TYPE_CUSTOM_BASE
Deprecated.Applications or extensions may define customTRACK_TYPE_*constants greater than or equal to this value.- See Also:
- Constant Field Values
-
SELECTION_REASON_UNKNOWN
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
-
SELECTION_REASON_INITIAL
public static final int SELECTION_REASON_INITIAL
Deprecated.A selection reason constant for an initial track selection.- See Also:
- Constant Field Values
-
SELECTION_REASON_MANUAL
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
-
SELECTION_REASON_ADAPTIVE
public static final int SELECTION_REASON_ADAPTIVE
Deprecated.A selection reason constant for an adaptive track selection.- See Also:
- Constant Field Values
-
SELECTION_REASON_TRICK_PLAY
public static final int SELECTION_REASON_TRICK_PLAY
Deprecated.A selection reason constant for a trick play track selection.- See Also:
- Constant Field Values
-
SELECTION_REASON_CUSTOM_BASE
public static final int SELECTION_REASON_CUSTOM_BASE
Deprecated.Applications or extensions may define customSELECTION_REASON_*constants greater than or equal to this value.- See Also:
- Constant Field Values
-
DEFAULT_BUFFER_SEGMENT_SIZE
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
-
DEFAULT_SEEK_BACK_INCREMENT_MS
public static final long DEFAULT_SEEK_BACK_INCREMENT_MS
Deprecated.A default seek back increment, in milliseconds.- See Also:
- Constant Field Values
-
DEFAULT_SEEK_FORWARD_INCREMENT_MS
public static final long DEFAULT_SEEK_FORWARD_INCREMENT_MS
Deprecated.A default seek forward increment, in milliseconds.- See Also:
- Constant Field Values
-
DEFAULT_MAX_SEEK_TO_PREVIOUS_POSITION_MS
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
-
CENC_TYPE_cenc
public static final String CENC_TYPE_cenc
Deprecated."cenc" scheme type name as defined in ISO/IEC 23001-7:2016.- See Also:
- Constant Field Values
-
CENC_TYPE_cbc1
public static final String CENC_TYPE_cbc1
Deprecated."cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.- See Also:
- Constant Field Values
-
CENC_TYPE_cens
public static final String CENC_TYPE_cens
Deprecated."cens" scheme type name as defined in ISO/IEC 23001-7:2016.- See Also:
- Constant Field Values
-
CENC_TYPE_cbcs
public static final String CENC_TYPE_cbcs
Deprecated."cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.- See Also:
- Constant Field Values
-
COMMON_PSSH_UUID
public static final UUID COMMON_PSSH_UUID
Deprecated.UUID for the W3C Common PSSH box.
-
CLEARKEY_UUID
public static final UUID CLEARKEY_UUID
Deprecated.UUID for the ClearKey DRM scheme.ClearKey is supported on Android devices running Android 5.0 (API Level 21) and up.
-
WIDEVINE_UUID
public static final UUID WIDEVINE_UUID
Deprecated.UUID for the Widevine DRM scheme.Widevine is supported on Android devices running Android 4.3 (API Level 18) and up.
-
PLAYREADY_UUID
public static final UUID 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.
-
STEREO_MODE_MONO
public static final int STEREO_MODE_MONO
Deprecated.Indicates Monoscopic stereo layout, used with 360/3D/VR videos.- See Also:
- Constant Field Values
-
STEREO_MODE_TOP_BOTTOM
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
-
STEREO_MODE_LEFT_RIGHT
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
-
STEREO_MODE_STEREO_MESH
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
-
COLOR_SPACE_BT601
public static final int COLOR_SPACE_BT601
Deprecated.- See Also:
- Constant Field Values
-
COLOR_SPACE_BT709
public static final int COLOR_SPACE_BT709
Deprecated.- See Also:
- Constant Field Values
-
COLOR_SPACE_BT2020
public static final int COLOR_SPACE_BT2020
Deprecated.- See Also:
- Constant Field Values
-
COLOR_TRANSFER_LINEAR
public static final int COLOR_TRANSFER_LINEAR
Deprecated.- See Also:
- Constant Field Values
-
COLOR_TRANSFER_SDR
public static final int COLOR_TRANSFER_SDR
Deprecated.SeeMediaFormat.COLOR_TRANSFER_SDR_VIDEO. The SMPTE 170M transfer function.- See Also:
- Constant Field Values
-
COLOR_TRANSFER_SRGB
public static final int COLOR_TRANSFER_SRGB
Deprecated.SeeDataSpace.TRANSFER_SRGB. The standard RGB transfer function, used for some SDR use-cases like image input.- See Also:
- Constant Field Values
-
COLOR_TRANSFER_GAMMA_2_2
public static final int COLOR_TRANSFER_GAMMA_2_2
Deprecated.SeeDataSpace.TRANSFER_GAMMA2_2. The Gamma 2.2 transfer function, used for some SDR use-cases like tone-mapping.- See Also:
- Constant Field Values
-
COLOR_TRANSFER_ST2084
public static final int COLOR_TRANSFER_ST2084
Deprecated.- See Also:
- Constant Field Values
-
COLOR_TRANSFER_HLG
public static final int COLOR_TRANSFER_HLG
Deprecated.- See Also:
- Constant Field Values
-
COLOR_RANGE_LIMITED
public static final int COLOR_RANGE_LIMITED
Deprecated.- See Also:
- Constant Field Values
-
COLOR_RANGE_FULL
public static final int COLOR_RANGE_FULL
Deprecated.- See Also:
- Constant Field Values
-
PROJECTION_RECTANGULAR
public static final int PROJECTION_RECTANGULAR
Deprecated.Conventional rectangular projection.- See Also:
- Constant Field Values
-
PROJECTION_EQUIRECTANGULAR
public static final int PROJECTION_EQUIRECTANGULAR
Deprecated.Equirectangular spherical projection.- See Also:
- Constant Field Values
-
PROJECTION_CUBEMAP
public static final int PROJECTION_CUBEMAP
Deprecated.Cube map projection.- See Also:
- Constant Field Values
-
PROJECTION_MESH
public static final int PROJECTION_MESH
Deprecated.3-D mesh projection.- See Also:
- Constant Field Values
-
PRIORITY_PLAYBACK
public static final int PRIORITY_PLAYBACK
Deprecated.Priority for media playback.Larger values indicate higher priorities.
- See Also:
- Constant Field Values
-
PRIORITY_DOWNLOAD
public static final int PRIORITY_DOWNLOAD
Deprecated.Priority for media downloading.Larger values indicate higher priorities.
- See Also:
- Constant Field Values
-
NETWORK_TYPE_UNKNOWN
public static final int NETWORK_TYPE_UNKNOWN
Deprecated.Unknown network type.- See Also:
- Constant Field Values
-
NETWORK_TYPE_OFFLINE
public static final int NETWORK_TYPE_OFFLINE
Deprecated.No network connection.- See Also:
- Constant Field Values
-
NETWORK_TYPE_WIFI
public static final int NETWORK_TYPE_WIFI
Deprecated.Network type for a Wifi connection.- See Also:
- Constant Field Values
-
NETWORK_TYPE_2G
public static final int NETWORK_TYPE_2G
Deprecated.Network type for a 2G cellular connection.- See Also:
- Constant Field Values
-
NETWORK_TYPE_3G
public static final int NETWORK_TYPE_3G
Deprecated.Network type for a 3G cellular connection.- See Also:
- Constant Field Values
-
NETWORK_TYPE_4G
public static final int NETWORK_TYPE_4G
Deprecated.Network type for a 4G cellular connection.- See Also:
- Constant Field Values
-
NETWORK_TYPE_5G_SA
public static final int NETWORK_TYPE_5G_SA
Deprecated.Network type for a 5G stand-alone (SA) cellular connection.- See Also:
- Constant Field Values
-
NETWORK_TYPE_5G_NSA
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
-
NETWORK_TYPE_CELLULAR_UNKNOWN
public static final int NETWORK_TYPE_CELLULAR_UNKNOWN
Deprecated.Network type for cellular connections which cannot be mapped to one ofNETWORK_TYPE_2G,NETWORK_TYPE_3G, orNETWORK_TYPE_4G.- See Also:
- Constant Field Values
-
NETWORK_TYPE_ETHERNET
public static final int NETWORK_TYPE_ETHERNET
Deprecated.Network type for an Ethernet connection.- See Also:
- Constant Field Values
-
NETWORK_TYPE_OTHER
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
-
WAKE_MODE_NONE
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
-
WAKE_MODE_LOCAL
public static final int WAKE_MODE_LOCAL
Deprecated.A wake mode that will cause the player to hold aPowerManager.WakeLockduring 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
-
WAKE_MODE_NETWORK
public static final int WAKE_MODE_NETWORK
Deprecated.A wake mode that will cause the player to hold aPowerManager.WakeLockand aWifiManager.WifiLockduring playback.This is suitable for applications that play media with the screen off and may load media over wifi.
- See Also:
- Constant Field Values
-
ROLE_FLAG_MAIN
public static final int ROLE_FLAG_MAIN
Deprecated.Indicates a main track.- See Also:
- Constant Field Values
-
ROLE_FLAG_ALTERNATE
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
-
ROLE_FLAG_SUPPLEMENTARY
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
-
ROLE_FLAG_COMMENTARY
public static final int ROLE_FLAG_COMMENTARY
Deprecated.Indicates the track contains commentary, for example from the director.- See Also:
- Constant Field Values
-
ROLE_FLAG_DUB
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
-
ROLE_FLAG_EMERGENCY
public static final int ROLE_FLAG_EMERGENCY
Deprecated.Indicates the track contains information about a current emergency.- See Also:
- Constant Field Values
-
ROLE_FLAG_CAPTION
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
-
ROLE_FLAG_SUBTITLE
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
-
ROLE_FLAG_SIGN
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
-
ROLE_FLAG_DESCRIBES_VIDEO
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
-
ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND
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
-
ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY
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
-
ROLE_FLAG_TRANSCRIBES_DIALOG
public static final int ROLE_FLAG_TRANSCRIBES_DIALOG
Deprecated.Indicates the track contains a transcription of spoken dialog.- See Also:
- Constant Field Values
-
ROLE_FLAG_EASY_TO_READ
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
-
ROLE_FLAG_TRICK_PLAY
public static final int ROLE_FLAG_TRICK_PLAY
Deprecated.Indicates the track is intended for trick play.- See Also:
- Constant Field Values
-
FORMAT_HANDLED
public static final int FORMAT_HANDLED
Deprecated.TheRendereris capable of rendering the format.- See Also:
- Constant Field Values
-
FORMAT_EXCEEDS_CAPABILITIES
public static final int FORMAT_EXCEEDS_CAPABILITIES
Deprecated.TheRendereris 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
Rendereris capable of rendering H264 and the format's MIME type isMimeTypes#VIDEO_H264, but the format's resolution exceeds the maximum limit supported by the underlying H264 decoder.- See Also:
- Constant Field Values
-
FORMAT_UNSUPPORTED_DRM
public static final int FORMAT_UNSUPPORTED_DRM
Deprecated.TheRendereris 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
Rendereris capable of rendering H264 and the format's MIME type isMimeTypes.VIDEO_H264, but the format indicates PlayReady drm protection whereas the renderer only supports Widevine.- See Also:
- Constant Field Values
-
FORMAT_UNSUPPORTED_SUBTYPE
public static final int FORMAT_UNSUPPORTED_SUBTYPE
Deprecated.TheRendereris 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
Rendereris 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
-
FORMAT_UNSUPPORTED_TYPE
public static final int FORMAT_UNSUPPORTED_TYPE
Deprecated.TheRendereris 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
Rendereris a general purpose video renderer, but the format has an audio MIME type.- See Also:
- Constant Field Values
-
-
Method Detail
-
usToMs
@InlineMe(replacement="Util.usToMs(timeUs)", imports="com.google.android.exoplayer2.util.Util") @Deprecated public static long usToMs(long timeUs)Deprecated.UseUtil.usToMs(long).
-
msToUs
@InlineMe(replacement="Util.msToUs(timeMs)", imports="com.google.android.exoplayer2.util.Util") @Deprecated public static long msToUs(long timeMs)Deprecated.UseUtil.msToUs(long).
-
generateAudioSessionIdV21
@InlineMe(replacement="Util.generateAudioSessionIdV21(context)", imports="com.google.android.exoplayer2.util.Util") @Deprecated @RequiresApi(21) public static int generateAudioSessionIdV21(Context context)Deprecated.
-
getFormatSupportString
@InlineMe(replacement="Util.getFormatSupportString(formatSupport)", imports="com.google.android.exoplayer2.util.Util") @Deprecated public static String getFormatSupportString(@FormatSupport @com.google.android.exoplayer2.C.FormatSupport int formatSupport)Deprecated.
-
getErrorCodeForMediaDrmErrorCode
@InlineMe(replacement="Util.getErrorCodeForMediaDrmErrorCode(mediaDrmErrorCode)", imports="com.google.android.exoplayer2.util.Util") @Deprecated @ErrorCode public static @com.google.android.exoplayer2.PlaybackException.ErrorCode int getErrorCodeForMediaDrmErrorCode(int mediaDrmErrorCode)Deprecated.
-
-