docs/doc/reference/com/google/android/exoplayer2/container/Mp4LocationData.html
Package com.google.android.exoplayer2.container
All Implemented Interfaces:Parcelable, Metadata.Entry
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classMp4LocationDataextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")implements[Metadata.Entry](../metadata/Metadata.Entry.html "interface in com.google.android.exoplayer2.metadata")
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.
Stores MP4 location data.
-
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| static Parcelable.Creator<Mp4LocationData> | CREATOR |
Deprecated.
|
| float | latitude |
Deprecated.
|
| float | longitude |
Deprecated.
|
-
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
Constructors | Constructor | Description |
| --- | --- |
| Mp4LocationData(float latitude, float longitude) |
Deprecated.
Creates an instance. |
All Methods Instance Methods Concrete Methods Deprecated Methods | Modifier and Type | Method | Description |
| --- | --- | --- |
| int | describeContents() |
Deprecated.
|
| boolean | equals(Object obj) |
Deprecated.
|
| int | hashCode() |
Deprecated.
|
| String | toString() |
Deprecated.
|
| void | writeToParcel(Parcel dest, int flags) |
Deprecated.
|
-
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
public final float latitude
Deprecated.
-
public final float longitude
Deprecated.
-
public static final[Parcelable.Creator](https://developer.android.com/reference/android/os/Parcelable.Creator.html "class or interface in android.os")<[Mp4LocationData](Mp4LocationData.html "class in com.google.android.exoplayer2.container")> CREATOR
Deprecated.
-
public Mp4LocationData(@FloatRange(from=-90.0,to=90.0)
float latitude,
@FloatRange(from=-180.0,to=180.0)
float longitude)
Deprecated.
Creates an instance.
Parameters:latitude - The latitude, in degrees. Its value must be in the range [-90, 90].longitude - The longitude, in degrees. Its value must be in the range [-180, 180].
-
public boolean equals(@Nullable[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")obj)
Deprecated.
Overrides:equals in class Object
-
public int hashCode()
Deprecated.
Overrides:hashCode in class Object
-
public[String](https://developer.android.com/reference/java/lang/String.html "class or interface in java.lang")toString()
Deprecated.
Overrides:toString in class Object
-
public int describeContents()
Deprecated.
Specified by:describeContents in interface Parcelable
-
public void writeToParcel([Parcel](https://developer.android.com/reference/android/os/Parcel.html "class or interface in android.os")dest,
int flags)
Deprecated.
Specified by:writeToParcel in interface Parcelable