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.
(一个 4 字节的无符号整数,用于指定外部对象的 ID。)
|
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.
(一个 4 字节的无符号整数,用于指定外部对象的 ID。)
|
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.
(source - 作为字节数组的源数据。)
start
- the start offset into the byte array.
(start - 字节数组的起始偏移量。)
len
- the length of the slice in the byte array.
(len - 字节数组中切片的长度。)
public long getRecordType()
getRecordType
in class
Record
(类 Record 中的 getRecordType)
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.
(id - 一个 4 字节无符号整数,指定外部对象的 ID。)
public int getMask()
public void setMask(int mask)
mask
- A bit mask specifying options for displaying video
(mask - 一个位掩码,指定显示视频的选项)
public boolean getFlag(int bit)
bit
- the bit to check
(bit - 要检查的位)
public void setFlag(int bit, boolean value)
bit
- the bit to set
(bit - 要设置的位)
value
- whether the specified bit is set
(value - 是否设置了指定位)
public 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.