public class LocationInformationBox extends AbstractFullBox
| Modifier and Type | Field and Description |
|---|---|
static String |
TYPE |
type| Constructor and Description |
|---|
LocationInformationBox() |
| Modifier and Type | Method and Description |
|---|---|
void |
_parseDetails(ByteBuffer content)
Parse the box's fields and child boxes if any.
|
String |
getAdditionalNotes() |
double |
getAltitude() |
String |
getAstronomicalBody() |
protected void |
getContent(ByteBuffer byteBuffer)
Write the box's content into the given
ByteBuffer. |
protected long |
getContentSize()
Get the box's content size without its header.
|
String |
getLanguage() |
double |
getLatitude() |
double |
getLongitude() |
String |
getName() |
int |
getRole() |
void |
setAdditionalNotes(String additionalNotes) |
void |
setAltitude(double altitude) |
void |
setAstronomicalBody(String astronomicalBody) |
void |
setLanguage(String language) |
void |
setLatitude(double latitude) |
void |
setLongitude(double longitude) |
void |
setName(String name) |
void |
setRole(int role) |
getFlags, getVersion, parseVersionAndFlags, setFlags, setVersion, writeVersionAndFlagsgetBox, getOffset, getParent, getPath, getSize, getType, getUserType, isParsed, parse, parseDetails, setParentpublic static final String TYPE
public String getLanguage()
public void setLanguage(String language)
public String getName()
public void setName(String name)
public int getRole()
public void setRole(int role)
public double getLongitude()
public void setLongitude(double longitude)
public double getLatitude()
public void setLatitude(double latitude)
public double getAltitude()
public void setAltitude(double altitude)
public String getAstronomicalBody()
public void setAstronomicalBody(String astronomicalBody)
public String getAdditionalNotes()
public void setAdditionalNotes(String additionalNotes)
protected long getContentSize()
AbstractBoxgetContent(ByteBuffer) writes.getContentSize in class AbstractBoxAbstractBox.getContent(java.nio.ByteBuffer)public void _parseDetails(ByteBuffer content)
AbstractBox_parseDetails in class AbstractBoxcontent - the box's raw content beginning after the 4-cc field.protected void getContent(ByteBuffer byteBuffer)
AbstractBoxByteBuffer. This must include flags
and version in case of a full box. byteBuffer has been initialized with
getSize() bytes.getContent in class AbstractBoxbyteBuffer - the sink for the box's contentCopyright © 2017. All rights reserved.