# SpliceCommand

Artifact: [androidx.media3:media3-extractor](https://developer.android.com/jetpack/androidx/releases/media3) [View Source](https://cs.android.com/search?q=file:androidx/media3/extractor/metadata/scte35/SpliceCommand.java+class:androidx.media3.extractor.metadata.scte35.SpliceCommand)

*** ** * ** ***


```
@UnstableApi
public abstract class SpliceCommand implements Metadata.Entry
```

<br />

Known direct subclasses [PrivateCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/PrivateCommand), [SpliceInsertCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceInsertCommand), [SpliceNullCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceNullCommand), [SpliceScheduleCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand), [TimeSignalCommand](https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/TimeSignalCommand)

|---|---|
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/PrivateCommand` | Represents a private command as defined in SCTE35, Section 9.3.6. |
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceInsertCommand` | Represents a splice insert command defined in SCTE35, Section 9.3.3. |
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceNullCommand` | Represents a splice null command as defined in SCTE35, Section 9.3.1. |
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceScheduleCommand` | Represents a splice schedule command as defined in SCTE35, Section 9.3.2. |
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/TimeSignalCommand` | Represents a time signal command as defined in SCTE35, Section 9.3.4. |

*** ** * ** ***

Superclass for SCTE35 splice commands.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceCommand#SpliceCommand()()` |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/scte35/SpliceCommand#toString()()` |

| ### Inherited methods |
|---|
| From [androidx.media3.common.Metadata.Entry](https://developer.android.com/reference/androidx/media3/common/Metadata.Entry) |---|---| | `@https://developer.android.com/reference/androidx/annotation/Nullable byte[]` | `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataBytes()()` Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain wrapped metadata. | | `@https://developer.android.com/reference/androidx/annotation/Nullable https://developer.android.com/reference/androidx/media3/common/Format` | `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataFormat()()` Returns the `https://developer.android.com/reference/androidx/media3/common/Format` that can be used to decode the wrapped metadata in `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#getWrappedMetadataBytes()`, or null if this Entry doesn't contain wrapped metadata. | | `void` | `https://developer.android.com/reference/androidx/media3/common/Metadata.Entry#populateMediaMetadata(androidx.media3.common.MediaMetadata.Builder)(https://developer.android.com/reference/androidx/media3/common/MediaMetadata.Builder builder)` Updates the `https://developer.android.com/reference/androidx/media3/common/MediaMetadata.Builder` with the type-specific values stored in this ` Entry`. | |

## Public constructors

### SpliceCommand

```
public SpliceCommand()
```

## Public methods

### toString

```
public String toString()
```