# PrivateCommand

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/PrivateCommand.java+class:androidx.media3.extractor.metadata.scte35.PrivateCommand)

*** ** * ** ***

<br />

```
@UnstableApi
class PrivateCommand : SpliceCommand
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.media3.extractor.metadata.scte35.SpliceCommand](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/scte35/SpliceCommand) ||
|   | ↳ | [androidx.media3.extractor.metadata.scte35.PrivateCommand](https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/scte35/PrivateCommand) |

*** ** * ** ***

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

## Summary

| ### Public functions |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/scte35/PrivateCommand#toString()()` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html>!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/scte35/PrivateCommand#commandBytes()` The private bytes as defined in SCTE35, Section 9.3.6. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/scte35/PrivateCommand#identifier()` The identifier as defined in SCTE35, Section 9.3.6. |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/scte35/PrivateCommand#ptsAdjustment()` The `pts_adjustment` as defined in SCTE35, Section 9.2. |

### Inherited functions

From [androidx.media3.common.Metadata.Entry](https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry) `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-byte/index.html>?` `https://developer.android.com/reference/kotlin/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/kotlin/androidx/media3/common/Format?` `https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry#getWrappedMetadataFormat()()`

Returns the `https://developer.android.com/reference/kotlin/androidx/media3/common/Format` that can be used to decode the wrapped metadata in `https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry#getWrappedMetadataBytes()`, or null if this Entry doesn't contain wrapped metadata.
`https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` `https://developer.android.com/reference/kotlin/androidx/media3/common/Metadata.Entry#populateMediaMetadata(androidx.media3.common.MediaMetadata.Builder)(builder: https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata.Builder!)`

Updates the `https://developer.android.com/reference/kotlin/androidx/media3/common/MediaMetadata.Builder` with the type-specific values stored in this ` Entry`.

## Public functions

### toString

```
fun toString(): String!
```

## Public properties

### commandBytes

```
val commandBytes: Array<Byte>!
```

The private bytes as defined in SCTE35, Section 9.3.6.

### identifier

```
val identifier: Long
```

The identifier as defined in SCTE35, Section 9.3.6.

### ptsAdjustment

```
val ptsAdjustment: Long
```

The `pts_adjustment` as defined in SCTE35, Section 9.2.