Class CmcdConfiguration
- java.lang.Object
 - 
- com.google.android.exoplayer2.upstream.CmcdConfiguration
 
 
- 
@Deprecated public final class CmcdConfiguration 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.Represents a configuration for the Common Media Client Data (CMCD) logging. 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCmcdConfiguration.CmcdKeyDeprecated.Indicates that the annotated element represents a CMCD key.static interfaceCmcdConfiguration.FactoryDeprecated.Factory forCmcdConfigurationinstances.static interfaceCmcdConfiguration.HeaderKeyDeprecated.Header keys SHOULD be allocated to one of the four defined header names based upon their expected level of variability: CMCD-Object: keys whose values vary with the object being requested.static interfaceCmcdConfiguration.RequestConfigDeprecated.Represents configuration which can vary on each request. 
- 
Field Summary
Fields Modifier and Type Field Description StringcontentIdDeprecated.A GUID identifying the current content, ornullif unset.static StringKEY_BITRATEDeprecated.static StringKEY_BUFFER_LENGTHDeprecated.static StringKEY_CMCD_OBJECTDeprecated.static StringKEY_CMCD_REQUESTDeprecated.static StringKEY_CMCD_SESSIONDeprecated.static StringKEY_CMCD_STATUSDeprecated.static StringKEY_CONTENT_IDDeprecated.static StringKEY_MAXIMUM_REQUESTED_BITRATEDeprecated.static StringKEY_MEASURED_THROUGHPUTDeprecated.static StringKEY_OBJECT_DURATIONDeprecated.static StringKEY_OBJECT_TYPEDeprecated.static StringKEY_SESSION_IDDeprecated.static StringKEY_STREAM_TYPEDeprecated.static StringKEY_STREAMING_FORMATDeprecated.static StringKEY_TOP_BITRATEDeprecated.static StringKEY_VERSIONDeprecated.static intMAX_ID_LENGTHDeprecated.Maximum length for ID fields.CmcdConfiguration.RequestConfigrequestConfigDeprecated.Dynamic request specific configuration.StringsessionIdDeprecated.A GUID identifying the current playback session, ornullif unset. 
- 
Constructor Summary
Constructors Constructor Description CmcdConfiguration(String sessionId, String contentId, CmcdConfiguration.RequestConfig requestConfig)Deprecated.Creates an instance. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanisBitrateLoggingAllowed()Deprecated.Returns whether logging bitrate is allowed based on the request configuration.booleanisBufferLengthLoggingAllowed()Deprecated.Returns whether logging buffer length is allowed based on the request configuration.booleanisContentIdLoggingAllowed()Deprecated.Returns whether logging content ID is allowed based on the request configuration.booleanisMaximumRequestThroughputLoggingAllowed()Deprecated.Returns whether logging maximum requested throughput is allowed based on the request configuration.booleanisMeasuredThroughputLoggingAllowed()Deprecated.Returns whether logging measured throughput is allowed based on the request configuration.booleanisObjectDurationLoggingAllowed()Deprecated.Returns whether logging object duration is allowed based on the request configuration.booleanisObjectTypeLoggingAllowed()Deprecated.Returns whether logging object type is allowed based on the request configuration.booleanisSessionIdLoggingAllowed()Deprecated.Returns whether logging session ID is allowed based on the request configuration.booleanisStreamingFormatLoggingAllowed()Deprecated.Returns whether logging streaming format is allowed based on the request configuration.booleanisStreamTypeLoggingAllowed()Deprecated.Returns whether logging stream type is allowed based on the request configuration.booleanisTopBitrateLoggingAllowed()Deprecated.Returns whether logging top bitrate is allowed based on the request configuration. 
 - 
 
- 
- 
Field Detail
- 
MAX_ID_LENGTH
public static final int MAX_ID_LENGTH
Deprecated.Maximum length for ID fields.- See Also:
 - Constant Field Values
 
 
- 
KEY_CMCD_OBJECT
public static final String KEY_CMCD_OBJECT
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_CMCD_REQUEST
public static final String KEY_CMCD_REQUEST
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_CMCD_SESSION
public static final String KEY_CMCD_SESSION
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_CMCD_STATUS
public static final String KEY_CMCD_STATUS
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_BITRATE
public static final String KEY_BITRATE
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_BUFFER_LENGTH
public static final String KEY_BUFFER_LENGTH
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_CONTENT_ID
public static final String KEY_CONTENT_ID
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_SESSION_ID
public static final String KEY_SESSION_ID
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_MAXIMUM_REQUESTED_BITRATE
public static final String KEY_MAXIMUM_REQUESTED_BITRATE
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_STREAMING_FORMAT
public static final String KEY_STREAMING_FORMAT
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_STREAM_TYPE
public static final String KEY_STREAM_TYPE
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_VERSION
public static final String KEY_VERSION
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_TOP_BITRATE
public static final String KEY_TOP_BITRATE
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_OBJECT_DURATION
public static final String KEY_OBJECT_DURATION
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_MEASURED_THROUGHPUT
public static final String KEY_MEASURED_THROUGHPUT
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
KEY_OBJECT_TYPE
public static final String KEY_OBJECT_TYPE
Deprecated.- See Also:
 - Constant Field Values
 
 
- 
sessionId
@Nullable public final String sessionId
Deprecated.A GUID identifying the current playback session, ornullif unset.A playback session typically ties together segments belonging to a single media asset. Maximum length is 64 characters.
 
- 
contentId
@Nullable public final String contentId
Deprecated.A GUID identifying the current content, ornullif unset.This value is consistent across multiple different sessions and devices and is defined and updated at the discretion of the service provider. Maximum length is 64 characters.
 
- 
requestConfig
public final CmcdConfiguration.RequestConfig requestConfig
Deprecated.Dynamic request specific configuration. 
 - 
 
- 
Constructor Detail
- 
CmcdConfiguration
public CmcdConfiguration(@Nullable String sessionId, @Nullable String contentId, CmcdConfiguration.RequestConfig requestConfig)Deprecated.Creates an instance. 
 - 
 
- 
Method Detail
- 
isBitrateLoggingAllowed
public boolean isBitrateLoggingAllowed()
Deprecated.Returns whether logging bitrate is allowed based on the request configuration. 
- 
isBufferLengthLoggingAllowed
public boolean isBufferLengthLoggingAllowed()
Deprecated.Returns whether logging buffer length is allowed based on the request configuration. 
- 
isContentIdLoggingAllowed
public boolean isContentIdLoggingAllowed()
Deprecated.Returns whether logging content ID is allowed based on the request configuration. 
- 
isSessionIdLoggingAllowed
public boolean isSessionIdLoggingAllowed()
Deprecated.Returns whether logging session ID is allowed based on the request configuration. 
- 
isMaximumRequestThroughputLoggingAllowed
public boolean isMaximumRequestThroughputLoggingAllowed()
Deprecated.Returns whether logging maximum requested throughput is allowed based on the request configuration. 
- 
isStreamingFormatLoggingAllowed
public boolean isStreamingFormatLoggingAllowed()
Deprecated.Returns whether logging streaming format is allowed based on the request configuration. 
- 
isStreamTypeLoggingAllowed
public boolean isStreamTypeLoggingAllowed()
Deprecated.Returns whether logging stream type is allowed based on the request configuration. 
- 
isTopBitrateLoggingAllowed
public boolean isTopBitrateLoggingAllowed()
Deprecated.Returns whether logging top bitrate is allowed based on the request configuration. 
- 
isObjectDurationLoggingAllowed
public boolean isObjectDurationLoggingAllowed()
Deprecated.Returns whether logging object duration is allowed based on the request configuration. 
- 
isMeasuredThroughputLoggingAllowed
public boolean isMeasuredThroughputLoggingAllowed()
Deprecated.Returns whether logging measured throughput is allowed based on the request configuration. 
- 
isObjectTypeLoggingAllowed
public boolean isObjectTypeLoggingAllowed()
Deprecated.Returns whether logging object type is allowed based on the request configuration. 
 - 
 
 -