@UnstableApi
public final class PrivateCommand extends SpliceCommand


Represents a private command as defined in SCTE35, Section 9.3.6.

Summary

Constants

static final Parcelable.Creator<PrivateCommand>

Public fields

final byte[]

The private bytes as defined in SCTE35, Section 9.3.6.

final long

The identifier as defined in SCTE35, Section 9.3.6.

final long

The pts_adjustment as defined in SCTE35, Section 9.2.

Public methods

String
void
writeToParcel(Parcel dest, int flags)

Inherited Constants

From android.os.Parcelable
static final int
static final int

Inherited methods

From androidx.media3.common.Metadata.Entry
@Nullable byte[]

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

@Nullable 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.

void

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

From android.os.Parcelable
abstract int
From androidx.media3.extractor.metadata.scte35.SpliceCommand

Constants

CREATOR

public static final Parcelable.Creator<PrivateCommandCREATOR

Public fields

commandBytes

public final byte[] commandBytes

The private bytes as defined in SCTE35, Section 9.3.6.

identifier

public final long identifier

The identifier as defined in SCTE35, Section 9.3.6.

ptsAdjustment

public final long ptsAdjustment

The pts_adjustment as defined in SCTE35, Section 9.2.

Public methods

toString

public String toString()

writeToParcel

public void writeToParcel(Parcel dest, int flags)