# 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)

*** ** * ** ***


```
@UnstableApi
public final class AppInfoTable implements 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 |
|---|---|
| `static final int` | `https://developer.android.com/reference/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. |
| `static final int` | `https://developer.android.com/reference/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 fields |
|---|---|
| `final int` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#controlCode()` |
| `final https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#url()` |

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#AppInfoTable(int,java.lang.String)(int controlCode, https://developer.android.com/reference/java/lang/String.html url)` |

| ### Public methods |
|---|---|
| `https://developer.android.com/reference/java/lang/String.html` | `https://developer.android.com/reference/androidx/media3/extractor/metadata/dvbsi/AppInfoTable#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`. | |

## Constants

### CONTROL_CODE_AUTOSTART

```
public static final int CONTROL_CODE_AUTOSTART = 1
```

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

### CONTROL_CODE_PRESENT

```
public static final int 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 fields

### controlCode

```
public final int controlCode
```

### url

```
public final String url
```

## Public constructors

### AppInfoTable

```
public AppInfoTable(int controlCode, String url)
```

## Public methods

### toString

```
public String toString()
```