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>CREATORDeprecated.floatlatitudeDeprecated.floatlongitudeDeprecated.-
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 intdescribeContents()Deprecated.booleanequals(Object obj)Deprecated.inthashCode()Deprecated.StringtoString()Deprecated.voidwriteToParcel(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:
describeContentsin interfaceParcelable
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
Deprecated.- Specified by:
writeToParcelin interfaceParcelable
-
-