@UnstableApi
public abstract class SpliceCommand implements Metadata.Entry

Known direct subclasses
PrivateCommand

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

SpliceInsertCommand

Represents a splice insert command defined in SCTE35, Section 9.3.3.

SpliceNullCommand

Represents a splice null command as defined in SCTE35, Section 9.3.1.

SpliceScheduleCommand

Represents a splice schedule command as defined in SCTE35, Section 9.3.2.

TimeSignalCommand

Represents a time signal command as defined in SCTE35, Section 9.3.4.


Superclass for SCTE35 splice commands.

Summary

Public constructors

Public methods

int
String

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 void
writeToParcel(Parcel p, int p1)

Public constructors

SpliceCommand

public SpliceCommand()

Public methods

describeContents

public int describeContents()

toString

public String toString()