Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels) Summary: [Constants](https://developer.android.com/reference/android/media/tv/SignalingDataInfo#constants) \| [Inherited Constants](https://developer.android.com/reference/android/media/tv/SignalingDataInfo#inhconstants) \| [Fields](https://developer.android.com/reference/android/media/tv/SignalingDataInfo#lfields) \| [Ctors](https://developer.android.com/reference/android/media/tv/SignalingDataInfo#pubctors) \| [Methods](https://developer.android.com/reference/android/media/tv/SignalingDataInfo#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/media/tv/SignalingDataInfo#inhmethods)

# SignalingDataInfo

*** ** * ** ***

` public final class SignalingDataInfo `   
` extends https://developer.android.com/reference/java/lang/Object ` ` implements https://developer.android.com/reference/android/os/Parcelable `

|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.media.tv.SignalingDataInfo |

<br />

*** ** * ** ***

Describes a metadata object of a `https://developer.android.com/reference/android/media/tv/SignalingDataResponse`.

## Summary

| ### Constants ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CONTENT_ENCODING_BASE64` A/344:2023-5 9.2.10 compliant string for when the encoding of the content is Base64. |
| `https://developer.android.com/reference/java/lang/String` | `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CONTENT_ENCODING_UTF_8` The encoding of the content is UTF-8. |
| `int` | `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#LLS_NO_GROUP_ID` This value for `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#getGroup()` denotes that there's no group associated with this metadata. |

### Inherited constants

From interface `https://developer.android.com/reference/android/os/Parcelable` `int` `https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR`

Descriptor bit used with `https://developer.android.com/reference/android/os/Parcelable#describeContents()`: indicates that the Parcelable object's flattened representation includes a file descriptor.
`int` `https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE`

Flag for use with `https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)`: the object being written is a return value, that is the result of a function such as "`Parcelable someFunction()`", "`void someFunction(out Parcelable)`", or "`void someFunction(inout Parcelable)`".

| ### Fields ||
|---|---|
| ` public static final https://developer.android.com/reference/android/os/Parcelable.Creator<https://developer.android.com/reference/android/media/tv/SignalingDataInfo>` | `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CREATOR` <br /> |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#SignalingDataInfo(java.lang.String,%20java.lang.String,%20int,%20int)(https://developer.android.com/reference/java/lang/String table, https://developer.android.com/reference/java/lang/String signalingDataType, int version, int group) ` |
| ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#SignalingDataInfo(java.lang.String,%20java.lang.String,%20int,%20int,%20java.lang.String)(https://developer.android.com/reference/java/lang/String table, https://developer.android.com/reference/java/lang/String signalingDataType, int version, int group, https://developer.android.com/reference/java/lang/String encoding) ` |

| ### Public methods ||
|---|---|
| ` int` | ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#describeContents()() ` Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#getEncoding()() ` The content encoding of the data. |
| ` int` | ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#getGroup()() ` Gets the LLS group ID. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#getSignalingDataType()() ` Gets the signaling data type contained in this metadata object. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#getTable()() ` The signaling table data, represented as a XML, JSON or BASE64 string. |
| ` int` | ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#getVersion()() ` Gets the version of the signalling element. |
| ` void` | ` https://developer.android.com/reference/android/media/tv/SignalingDataInfo#writeToParcel(android.os.Parcel,%20int)(https://developer.android.com/reference/android/os/Parcel dest, int flags) ` Flatten this object in to a Parcel. |

### Inherited methods

From class ` https://developer.android.com/reference/java/lang/Object ` ` https://developer.android.com/reference/java/lang/Object` ` https://developer.android.com/reference/java/lang/Object#clone()() `

Creates and returns a copy of this object.
` boolean` ` https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object)(https://developer.android.com/reference/java/lang/Object obj) `

Indicates whether some other object is "equal to" this one.
` void` ` https://developer.android.com/reference/java/lang/Object#finalize()() `

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
` final https://developer.android.com/reference/java/lang/Class<?>` ` https://developer.android.com/reference/java/lang/Object#getClass()() `

Returns the runtime class of this `Object`.
` int` ` https://developer.android.com/reference/java/lang/Object#hashCode()() `

Returns a hash code value for the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#notify()() `

Wakes up a single thread that is waiting on this object's monitor.
` final void` ` https://developer.android.com/reference/java/lang/Object#notifyAll()() `

Wakes up all threads that are waiting on this object's monitor.
` https://developer.android.com/reference/java/lang/String` ` https://developer.android.com/reference/java/lang/Object#toString()() `

Returns a string representation of the object.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long,%20int)(long timeoutMillis, int nanos) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait(long)(long timeoutMillis) `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*, or until a certain amount of real time has elapsed.
` final void` ` https://developer.android.com/reference/java/lang/Object#wait()() `

Causes the current thread to wait until it is awakened, typically by being *notified* or *interrupted*.
From interface ` https://developer.android.com/reference/android/os/Parcelable ` ` abstract int` ` https://developer.android.com/reference/android/os/Parcelable#describeContents()() `

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.
` abstract void` ` https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)(https://developer.android.com/reference/android/os/Parcel dest, int flags) `

Flatten this object in to a Parcel.

## Constants

### CONTENT_ENCODING_BASE64

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_ENCODING_BASE64
```

A/344:2023-5 9.2.10 compliant string for when the encoding of the content is Base64.

<br />

Constant Value: "Base64"

### CONTENT_ENCODING_UTF_8

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final String CONTENT_ENCODING_UTF_8
```

The encoding of the content is UTF-8. This is the default value.

<br />

Constant Value: "UTF-8"

### LLS_NO_GROUP_ID

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final int LLS_NO_GROUP_ID
```

This value for `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#getGroup()` denotes that there's no group associated with this metadata.

<br />

Constant Value: -1 (0xffffffff)

## Fields

### CREATOR

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public static final Creator<SignalingDataInfo> CREATOR
```

<br />

<br />

## Public constructors

### SignalingDataInfo

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public SignalingDataInfo (String table, 
                String signalingDataType, 
                int version, 
                int group)
```

<br />

<br />

| Parameters ||
|---|---|
| `table` | `String`: This value cannot be `null`. <br /> |
| `signalingDataType` | `String`: This value cannot be `null`. <br /> |
| `version` | `int` <br /> |
| `group` | `int` <br /> |

### SignalingDataInfo

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public SignalingDataInfo (String table, 
                String signalingDataType, 
                int version, 
                int group, 
                String encoding)
```

<br />

<br />

| Parameters ||
|---|---|
| `table` | `String`: This value cannot be `null`. <br /> |
| `signalingDataType` | `String`: This value cannot be `null`. <br /> |
| `version` | `int` <br /> |
| `group` | `int` <br /> |
| `encoding` | `String`: This value cannot be `null`. <br /> |

## Public methods

### describeContents

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int describeContents ()
```

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. For example, if the object will include a file descriptor in the output of `https://developer.android.com/reference/android/os/Parcelable#writeToParcel(android.os.Parcel,%20int)`, the return value of this method must include the `https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR` bit.

<br />

| Returns ||
|---|---|
| `int` | a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either `0` or - `https://developer.android.com/reference/android/os/Parcelable#CONTENTS_FILE_DESCRIPTOR` |

### getEncoding

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String getEncoding ()
```

The content encoding of the data. This value defaults to `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CONTENT_ENCODING_UTF_8`.

Can be either `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CONTENT_ENCODING_BASE64` or `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CONTENT_ENCODING_UTF_8`.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | The content encoding of the data. This value cannot be `null`. Value is one of the following: - `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CONTENT_ENCODING_UTF_8` - `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#CONTENT_ENCODING_BASE64` |

### getGroup

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int getGroup ()
```

Gets the LLS group ID. Required for LLS Tables. For SLS Metadata Objects, this should be `https://developer.android.com/reference/android/media/tv/SignalingDataInfo#LLS_NO_GROUP_ID`.

<br />

| Returns ||
|---|---|
| `int` | the LLS group ID. <br /> |

### getSignalingDataType

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String getSignalingDataType ()
```

Gets the signaling data type contained in this metadata object. This may be either a LLS Metadata Object or a SLS Metadata Object name.

For more details on each type of metadata that can be requested, refer to the ATSC standard A/344:2023-5 9.2.10 - Query Signaling Data API.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | the type of metadata in this metadata object. This value cannot be `null`. Value is one of the following: - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_APD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_USBD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_STSID` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_MPD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_USD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_PAT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_MPT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_MPIT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_CRIT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_DCIT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_HELD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_DWD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_AEI` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_VSPD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_ASD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_IED` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_CAD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_ASPD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_SSD` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_EMSG` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_EVTI` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_RSAT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_RDT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_SLT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_RRT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_STT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_AEAT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_OSN` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_SMT` - `https://developer.android.com/reference/android/media/tv/SignalingDataRequest#SIGNALING_METADATA_CDT` |

### getTable

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public String getTable ()
```

The signaling table data, represented as a XML, JSON or BASE64 string.

For more details on how this data is formatted refer to the ATSC standard A/344:2023-5 9.2.10 - Query Signaling Data API.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/lang/String` | The signaling table data. This value cannot be `null`. <br /> |

### getVersion

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public int getVersion ()
```

Gets the version of the signalling element. For LLS, this should be the LLS_table_version. For SLS Metadata Objects, this should be metadataEnvelope@version. For more details on where this version comes from, refer to the ATSC 3.0 standard A/344:2023-5 9.2.10 - Query Signaling Data API.

<br />

| Returns ||
|---|---|
| `int` | The version of the signalling element. <br /> |

### writeToParcel

Added in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)

```
public void writeToParcel (Parcel dest, 
                int flags)
```

Flatten this object in to a Parcel.

<br />

| Parameters ||
|---|---|
| `dest` | `Parcel`: This value cannot be `null`. <br /> |
| `flags` | `int`: Additional flags about how the object should be written. May be 0 or `https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE`. Value is either `0` or a combination of the following: - `https://developer.android.com/reference/android/os/Parcelable#PARCELABLE_WRITE_RETURN_VALUE` |