Class BaseUrl
- java.lang.Object
- 
- com.google.android.exoplayer2.source.dash.manifest.BaseUrl
 
- 
 @Deprecated public final class BaseUrl 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.A base URL, as defined by ISO 23009-1, 2nd edition, 5.6. and ETSI TS 103 285 V1.2.1, 10.8.2.1
- 
- 
Field SummaryFields Modifier and Type Field Description static intDEFAULT_DVB_PRIORITYDeprecated.The default priority.static intDEFAULT_WEIGHTDeprecated.The default weight.intpriorityDeprecated.The priority.static intPRIORITY_UNSETDeprecated.Constant representing an unset priority in a manifest that does not declare a DVB profile.StringserviceLocationDeprecated.The service location.StringurlDeprecated.The URL.intweightDeprecated.The weight.
 - 
Constructor SummaryConstructors Constructor Description BaseUrl(String url)Deprecated.Creates an instance withan unset priority,default weightand using the URL as the service location.BaseUrl(String url, String serviceLocation, int priority, int weight)Deprecated.Creates an instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.inthashCode()Deprecated.
 
- 
- 
- 
Field Detail- 
DEFAULT_WEIGHTpublic static final int DEFAULT_WEIGHT Deprecated.The default weight.- See Also:
- Constant Field Values
 
 - 
DEFAULT_DVB_PRIORITYpublic static final int DEFAULT_DVB_PRIORITY Deprecated.The default priority.- See Also:
- Constant Field Values
 
 - 
PRIORITY_UNSETpublic static final int PRIORITY_UNSET Deprecated.Constant representing an unset priority in a manifest that does not declare a DVB profile.- See Also:
- Constant Field Values
 
 - 
urlpublic final String url Deprecated.The URL.
 - 
serviceLocationpublic final String serviceLocation Deprecated.The service location.
 - 
prioritypublic final int priority Deprecated.The priority.
 - 
weightpublic final int weight Deprecated.The weight.
 
- 
 - 
Constructor Detail- 
BaseUrlpublic BaseUrl(String url) Deprecated.Creates an instance withan unset priority,default weightand using the URL as the service location.
 
- 
 
-