# AppInfoTable

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

*** ** * ** ***

<br />

```
@UnstableApi
class AppInfoTable : Metadata.Entry
```

<br />

*** ** * ** ***

A representation of a DVB Application Information Table (AIT).

For more info on the AIT see section 5.3.4 of the [DVB ETSI TS 102 809 v1.1.1 spec](https://www.etsi.org/deliver/etsi_ts/102800_102899/102809/01.01.01_60/ts_102809v010101p.pdf).

## Summary

| ### Constants |
|---|---|
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#CONTROL_CODE_AUTOSTART() = 1` The application shall be started when the service is selected, unless the application is already running. |
| `const https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#CONTROL_CODE_PRESENT() = 2` The application is allowed to run while the service is selected, however it shall not start automatically when the service becomes selected. |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#AppInfoTable(int,java.lang.String)(controlCode: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, url: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!)` |

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

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#controlCode()` |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html!` | `https://developer.android.com/reference/kotlin/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#url()` |

### 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`.

## Constants

### CONTROL_CODE_AUTOSTART

```
const val CONTROL_CODE_AUTOSTART = 1: Int
```

The application shall be started when the service is selected, unless the application is already running.

### CONTROL_CODE_PRESENT

```
const val CONTROL_CODE_PRESENT = 2: Int
```

The application is allowed to run while the service is selected, however it shall not start automatically when the service becomes selected.

## Public constructors

### AppInfoTable

```
AppInfoTable(controlCode: Int, url: String!)
```

## Public functions

### toString

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

## Public properties

### controlCode

```
val controlCode: Int
```

### url

```
val url: String!
```