- latitude
- Latitude in degrees. Its value must be in the range [-90, 90].
- longitude
- Longitude in degrees. Its value must be in the range [-180, 180].
Type Reason Java.Lang.IllegalArgumentException If the given latitude or longitude is out of range. Java.Lang.IllegalStateException If this method is called after MediaMuxer.Start.
Set and store the geodata (latitude and longitude) in the output file. This method should be called before MediaMuxer.Start. The geodata is stored in udta box if the output format is NoType:android/media/MediaMuxer$OutputFormat;Href=../../../reference/android/media/MediaMuxer.OutputFormat.html#MUXER_OUTPUT_MPEG_4, and is ignored for other output formats. The geodata is stored according to ISO-6709 standard.