ChapterTocFrame


@UnstableApi
class ChapterTocFrame : Id3Frame


Chapter table of contents ID3 frame.

Summary

Constants

const Parcelable.Creator<ChapterTocFrame!>!
const String!
ID = "CTOC"

Public constructors

ChapterTocFrame(
    elementId: String!,
    isRoot: Boolean,
    isOrdered: Boolean,
    children: Array<String!>!,
    subFrames: Array<Id3Frame!>!
)

Public functions

Boolean
equals(obj: Any?)
Id3Frame!
getSubFrame(index: Int)

Returns the sub-frame at index.

Int

Returns the number of sub-frames.

Int
Unit
writeToParcel(dest: Parcel!, flags: Int)

Inherited functions

From androidx.media3.extractor.metadata.id3.Id3Frame
From androidx.media3.common.Metadata.Entry
ByteArray<Byte>?

Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata.

Format?

Returns the Format that can be used to decode the wrapped metadata in getWrappedMetadataBytes, or null if this Entry doesn't contain wrapped metadata.

Unit

Updates the MediaMetadata.Builder with the type-specific values stored in this Entry.

From android.os.Parcelable
abstract Int

Inherited properties

From androidx.media3.extractor.metadata.id3.Id3Frame
String!

The frame ID.

Constants

CREATOR

const val CREATORParcelable.Creator<ChapterTocFrame!>!

ID

const val ID = "CTOC": String!

Public constructors

ChapterTocFrame

ChapterTocFrame(
    elementId: String!,
    isRoot: Boolean,
    isOrdered: Boolean,
    children: Array<String!>!,
    subFrames: Array<Id3Frame!>!
)

Public functions

equals

fun equals(obj: Any?): Boolean

getSubFrame

fun getSubFrame(index: Int): Id3Frame!

Returns the sub-frame at index.

getSubFrameCount

fun getSubFrameCount(): Int

Returns the number of sub-frames.

hashCode

fun hashCode(): Int

writeToParcel

fun writeToParcel(dest: Parcel!, flags: Int): Unit

Public properties

children

val childrenArray<String!>!

elementId

val elementIdString!

isOrdered

val isOrderedBoolean

isRoot

val isRootBoolean