public final class ExMediaAtom extends RecordAtom
| Modifier and Type | Field and Description |
|---|---|
static int |
fLoop
A bit that specifies whether the audio or video data is repeated continuously during playback.
|
static int |
fNarration
A bit that specifies whether the audio data is recorded narration for the slide show.
|
static int |
fRewind
A bit that specifies whether the audio or video data is rewound after playing.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ExMediaAtom()
Constructs a brand new link related atom record.
|
protected |
ExMediaAtom(byte[] source,
int start,
int len)
Constructs the link related atom record from its
source data.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFlag(int bit) |
int |
getMask()
A bit mask specifying options for displaying headers and footers
|
int |
getObjectId()
A 4-byte unsigned integer that specifies an ID for an external object.
|
long |
getRecordType()
Gets the record type.
|
void |
setFlag(int bit,
boolean value) |
void |
setMask(int mask)
A bit mask specifying options for displaying video
|
void |
setObjectId(int id)
A 4-byte unsigned integer that specifies an ID for an external object.
|
String |
toString() |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtombuildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndianpublic static final int fLoop
public static final int fRewind
public static final int fNarration
protected ExMediaAtom()
protected ExMediaAtom(byte[] source,
int start,
int len)
source - the source data as a byte array.start - the start offset into the byte array.len - the length of the slice in the byte array.public long getRecordType()
getRecordType in class Recordpublic void writeOut(OutputStream out) throws IOException
writeOut in class Recordout - the output stream to write to.IOException - if an error occurs.public int getObjectId()
public void setObjectId(int id)
id - A 4-byte unsigned integer that specifies an ID for an external object.public int getMask()
public void setMask(int mask)
mask - A bit mask specifying options for displaying videopublic boolean getFlag(int bit)
bit - the bit to checkpublic void setFlag(int bit,
boolean value)
bit - the bit to setvalue - whether the specified bit is setCopyright © 2020. All rights reserved.