Class Mp4LocationData

  • All Implemented Interfaces:
    Parcelable, Metadata.Entry

    public final class Mp4LocationData
    extends Object
    implements Metadata.Entry
    Deprecated. 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
      • longitude

        public final float longitude
    • Constructor Detail

      • Mp4LocationData

        public Mp4LocationData​(@FloatRange(from=-90.0,to=90.0)
                               float latitude,
                               float longitude)
        Creates an instance.
        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].