docs/doc/reference/com/google/android/exoplayer2/source/dash/manifest/BaseUrl.html
Package com.google.android.exoplayer2.source.dash.manifest
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classBaseUrlextends[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.
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
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static int | DEFAULT_DVB_PRIORITY |
Deprecated.
The default priority.
|
| static int | DEFAULT_WEIGHT |
Deprecated.
The default weight.
|
| int | priority |
Deprecated.
The priority.
|
| static int | PRIORITY_UNSET |
Deprecated.
Constant representing an unset priority in a manifest that does not declare a DVB profile.
|
| String | serviceLocation |
Deprecated.
The service location.
|
| String | url |
Deprecated.
The URL.
|
| int | weight |
Deprecated.
The weight. |
Constructors | Constructor | Description |
| --- | --- |
| BaseUrl(String url) |
Deprecated.
Creates an instance with an unset priority, default weight and using the URL as the service location.
|
| BaseUrl(String url, String serviceLocation, int priority, int weight) |
Deprecated.
Creates an instance. |
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| boolean | equals(Object o) |
Deprecated.
|
| int | hashCode() |
Deprecated.
|
-
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
public static final int DEFAULT_WEIGHT
Deprecated.
The default weight. See Also:Constant Field Values
-
public static final int DEFAULT_DVB_PRIORITY
Deprecated.
The default priority. See Also:Constant Field Values
-
public 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
-
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")url
Deprecated.
The URL.
-
public final[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")serviceLocation
Deprecated.
The service location.
-
public final int priority
Deprecated.
The priority.
-
public final int weight
Deprecated.
The weight.
-
public BaseUrl([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")url)
Deprecated.
Creates an instance with an unset priority, default weight and using the URL as the service location.
-
public BaseUrl([String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")url,[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")serviceLocation,
int priority,
int weight)
Deprecated.
Creates an instance.
-
public boolean equals(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")o)
Deprecated.
Overrides:equals in class Object
-
public int hashCode()
Deprecated.
Overrides:hashCode in class Object