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) |
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
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.
|
java.lang.String |
toString() |
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written
to disk
|
getChildRecords, isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndian
public 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 Record
public void writeOut(java.io.OutputStream out) throws java.io.IOException
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 setpublic java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.