public class ThreeGPPLocationBox extends ThreeGPPMetadataBox
Constructor and Description |
---|
ThreeGPPLocationBox() |
Modifier and Type | Method and Description |
---|---|
void |
decode(MP4InputStream in)
Decodes the given input stream by reading this box and all of its
children (if any).
|
java.lang.String |
getAdditionalNotes()
A string containing any additional location-related information.
|
double |
getAltitude()
A floating point number indicating the altitude in meters.
|
java.lang.String |
getAstronomicalBody()
A string indicating the astronomical body on which the location exists,
e.g.
|
double |
getLatitude()
A floating point number indicating the latitude in degrees.
|
double |
getLongitude()
A floating point number indicating the longitude in degrees.
|
java.lang.String |
getPlaceName()
A string indicating the name of the place.
|
int |
getRole()
The role of the place:
Other values are reserved. |
decodeCommon, getData, getLanguageCode
getChild, getChildren, getChildren, getLeft, getName, getOffset, getParent, getSize, getType, hasChild, hasChildren, readChildren, readChildren, setParams, toString
public void decode(MP4InputStream in) throws java.io.IOException
BoxImpl
decode
in class ThreeGPPMetadataBox
in
- an input streamjava.io.IOException
- if an error occurs while readingpublic java.lang.String getPlaceName()
public int getRole()
public double getLongitude()
public double getLatitude()
public double getAltitude()
public java.lang.String getAstronomicalBody()
public java.lang.String getAdditionalNotes()