Mp4LocationData
@UnstableApi
public final class Mp4LocationData implements Metadata.Entry
Stores MP4 location data.
The location data is typically read/written in the "udta" box (user data box, defined in ISO/IEC 14496-12).
Summary
Public fields |
|
|---|---|
final float |
The latitude, in degrees. |
final float |
The longitude, in degrees. |
Public constructors |
|---|
Mp4LocationData(Creates an instance. |
Inherited methods |
||||||
|---|---|---|---|---|---|---|
|
Public fields
Public constructors
Mp4LocationData
public Mp4LocationData(
@FloatRange(from = "-90.0", to = 90.0) float latitude,
@FloatRange(from = "-180.0", to = 180.0) float longitude
)
Creates an instance.
| Parameters | |
|---|---|
@FloatRange(from = "-90.0", to = 90.0) float latitude |
The latitude, in degrees. Its value must be in the range [-90, 90]. |
@FloatRange(from = "-180.0", to = 180.0) float longitude |
The longitude, in degrees. Its value must be in the range [-180, 180]. |