Class 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.
    • Field Detail

      • latitude

        public final float latitude
        Deprecated.
      • longitude

        public final float longitude
        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].