Class Mp4LocationData
- java.lang.Object
-
- com.google.android.exoplayer2.container.Mp4LocationData
-
- All Implemented Interfaces:
Parcelable
,Metadata.Entry
@Deprecated public final class Mp4LocationData extends Object implements Metadata.Entry
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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<Mp4LocationData>
CREATOR
Deprecated.float
latitude
Deprecated.float
longitude
Deprecated.-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Constructor Description Mp4LocationData(float latitude, float longitude)
Deprecated.Creates an instance.
-
Method Summary
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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.android.exoplayer2.metadata.Metadata.Entry
getWrappedMetadataBytes, getWrappedMetadataFormat, populateMediaMetadata
-
-
-
-
Field Detail
-
latitude
public final float latitude
Deprecated.
-
longitude
public final float longitude
Deprecated.
-
CREATOR
public static final Parcelable.Creator<Mp4LocationData> CREATOR
Deprecated.
-
-
Constructor Detail
-
Mp4LocationData
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].
-
-
Method Detail
-
describeContents
public int describeContents()
Deprecated.- Specified by:
describeContents
in interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcel
in interfaceParcelable
-
-