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

# TvRecordingInfo

*** ** * ** ***


`
public

final

class
TvRecordingInfo
`


`

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.TvRecordingInfo |

<br />

*** ** * ** ***

This class is used to describe the meta information for a TV recording. It can be retrieved by
the `https://developer.android.com/reference/android/media/tv/interactive/TvInteractiveAppService` by using getTvRecordingInfo
or getTvRecordingInfoList. It can then be updated to the TV app using setTvRecordingInfo.

## Summary

| ### Constants ||
|---|---|
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#FRIDAY` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#MONDAY` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#RECORDING_ALL` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#RECORDING_IN_PROGRESS` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#RECORDING_SCHEDULED` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#SATURDAY` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#SUNDAY` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#THURSDAY` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#TUESDAY` |
| `int` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#WEDNESDAY` |

| ### 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/TvRecordingInfo>` | `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#CREATOR` |

| ### Public constructors ||
|---|---|
| ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#TvRecordingInfo(java.lang.String,%20long,%20long,%20int,%20java.lang.String,%20java.lang.String,%20long,%20long,%20android.net.Uri,%20android.net.Uri,%20java.util.List<android.media.tv.TvContentRating>,%20android.net.Uri,%20long,%20long)(https://developer.android.com/reference/java/lang/String recordingId, long startPadding, long endPadding, int repeatDays, https://developer.android.com/reference/java/lang/String name, https://developer.android.com/reference/java/lang/String description, long scheduledStartTime, long scheduledDuration, https://developer.android.com/reference/android/net/Uri channelUri, https://developer.android.com/reference/android/net/Uri programUri, https://developer.android.com/reference/java/util/List<https://developer.android.com/reference/android/media/tv/TvContentRating> contentRatings, https://developer.android.com/reference/android/net/Uri recordingUri, long recordingStartTime, long recordingDuration) ` |

| ### Public methods ||
|---|---|
| ` int` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#describeContents()() ` Describe the kinds of special objects contained in this Parcelable instance's marshaled representation. |
| ` https://developer.android.com/reference/android/net/Uri` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getChannelUri()() ` Returns the uri of the broadcast channel where the recording will take place. |
| ` https://developer.android.com/reference/java/util/List<https://developer.android.com/reference/android/media/tv/TvContentRating>` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getContentRatings()() ` Returns a list of content ratings for the program(s) in this recording. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getDescription()() ` Returns the description of the scheduled recording. |
| ` long` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getEndPaddingMillis()() ` Returns the ending padding duration of this recording in milliseconds since the epoch. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getName()() ` Returns the name of the scheduled recording. |
| ` https://developer.android.com/reference/android/net/Uri` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getProgramUri()() ` Returns the uri of the scheduled program or series. |
| ` long` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getRecordingDurationMillis()() ` The real duration of the recording, including any padding, in milliseconds since the epoch. |
| ` https://developer.android.com/reference/java/lang/String` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getRecordingId()() ` Returns the ID of this recording. |
| ` long` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getRecordingStartTimeMillis()() ` The real start time of the recording, including any padding, in milliseconds since the epoch. |
| ` https://developer.android.com/reference/android/net/Uri` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getRecordingUri()() ` The uri of the recording in local storage. |
| ` int` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getRepeatDays()() ` Returns the days of the week for which this recording should be repeated for. |
| ` long` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getScheduledDurationMillis()() ` Returns the scheduled duration of the recording in milliseconds since the epoch. |
| ` long` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getScheduledStartTimeMillis()() ` Returns the scheduled start time of the recording in milliseconds since the epoch. |
| ` long` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getStartPaddingMillis()() ` Returns the start padding duration of this recording in milliseconds since the epoch. |
| ` void` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#setDescription(java.lang.String)(https://developer.android.com/reference/java/lang/String description) ` Sets the description of the scheduled recording. |
| ` void` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#setName(java.lang.String)(https://developer.android.com/reference/java/lang/String name) ` Sets the name of the scheduled recording. |
| ` void` | ` https://developer.android.com/reference/android/media/tv/TvRecordingInfo#writeToParcel(android.os.Parcel,%20int)(https://developer.android.com/reference/android/os/Parcel dest, int flags) ` Used to package this object into a `https://developer.android.com/reference/android/os/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

### FRIDAY

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

```
public static final int FRIDAY
```

<br />

<br />

Constant Value:

32
(0x00000020)


### MONDAY

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

```
public static final int MONDAY
```

<br />

<br />

Constant Value:

2
(0x00000002)


### RECORDING_ALL

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

```
public static final int RECORDING_ALL
```

<br />

<br />

Constant Value:

3
(0x00000003)


### RECORDING_IN_PROGRESS

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

```
public static final int RECORDING_IN_PROGRESS
```

<br />

<br />

Constant Value:

2
(0x00000002)


### RECORDING_SCHEDULED

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

```
public static final int RECORDING_SCHEDULED
```

<br />

<br />

Constant Value:

1
(0x00000001)


### SATURDAY

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

```
public static final int SATURDAY
```

<br />

<br />

Constant Value:

64
(0x00000040)


### SUNDAY

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

```
public static final int SUNDAY
```

<br />

<br />

Constant Value:

1
(0x00000001)


### THURSDAY

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

```
public static final int THURSDAY
```

<br />

<br />

Constant Value:

16
(0x00000010)


### TUESDAY

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

```
public static final int TUESDAY
```

<br />

<br />

Constant Value:

4
(0x00000004)


### WEDNESDAY

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

```
public static final int WEDNESDAY
```

<br />

<br />

Constant Value:

8
(0x00000008)


## Fields

### CREATOR

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

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

<br />

<br />

## Public constructors

### TvRecordingInfo

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

```
public TvRecordingInfo (String recordingId, 
                long startPadding, 
                long endPadding, 
                int repeatDays, 
                String name, 
                String description, 
                long scheduledStartTime, 
                long scheduledDuration, 
                Uri channelUri, 
                Uri programUri, 
                List<TvContentRating> contentRatings, 
                Uri recordingUri, 
                long recordingStartTime, 
                long recordingDuration)
```

<br />

<br />

| Parameters ||
|---|---|
| `recordingId` | `String`: This value cannot be `null`. <br /> |
| `startPadding` | `long` <br /> |
| `endPadding` | `long` <br /> |
| `repeatDays` | `int` <br /> |
| `name` | `String`: This value cannot be `null`. <br /> |
| `description` | `String`: This value cannot be `null`. <br /> |
| `scheduledStartTime` | `long` <br /> |
| `scheduledDuration` | `long` <br /> |
| `channelUri` | `Uri`: This value cannot be `null`. <br /> |
| `programUri` | `Uri`: This value may be `null`. <br /> |
| `contentRatings` | `List`: This value cannot be `null`. <br /> |
| `recordingUri` | `Uri`: This value may be `null`. <br /> |
| `recordingStartTime` | `long` <br /> |
| `recordingDuration` | `long` <br /> |

## Public methods

### describeContents

Added in [API level 34](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` |

### getChannelUri

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

```
public Uri getChannelUri ()
```

Returns the uri of the broadcast channel where the recording will take place.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/net/Uri` | This value cannot be `null`. <br /> |

### getContentRatings

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

```
public List<TvContentRating> getContentRatings ()
```

Returns a list of content ratings for the program(s) in this recording.

Returns an empty list if no content rating information is available.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/java/util/List<https://developer.android.com/reference/android/media/tv/TvContentRating>` | This value cannot be `null`. <br /> |

### getDescription

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

```
public String getDescription ()
```

Returns the description of the scheduled recording.

This is set with `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#setDescription(java.lang.String)` and sent to tv app with
`https://developer.android.com/reference/android/media/tv/interactive/TvInteractiveAppService.Session#setTvRecordingInfo(java.lang.String,%20android.media.tv.TvRecordingInfo)`

<br />

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

### getEndPaddingMillis

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

```
public long getEndPaddingMillis ()
```

Returns the ending padding duration of this recording in milliseconds since the epoch.

A positive value should cause the recording to end later than the specified time.
This should cause the actual duration of the recording to increase. A negative value should
cause the recording to end earlier than the specified time. This should cause the actual
duration of the recording to decrease.

<br />

| Returns ||
|---|---|
| `long` | <br /> |

### getName

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

```
public String getName ()
```

Returns the name of the scheduled recording.

This is set with `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#setName(java.lang.String)` and sent to tv app with
`https://developer.android.com/reference/android/media/tv/interactive/TvInteractiveAppService.Session#setTvRecordingInfo(java.lang.String,%20android.media.tv.TvRecordingInfo)`

<br />

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

### getProgramUri

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

```
public Uri getProgramUri ()
```

Returns the uri of the scheduled program or series.

For recordings scheduled using scheduleRecording, this value may be null. A non-null
programUri implies the started recording should be of that specific program, whereas a null
programUri does not impose such a requirement and the recording can span across
multiple TV programs.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/net/Uri` | <br /> |

### getRecordingDurationMillis

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

```
public long getRecordingDurationMillis ()
```

The real duration of the recording, including any padding, in milliseconds since the epoch.

This may not be the same as the value of `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getScheduledDurationMillis()` due to a
recording starting late, or due to start/end padding.

Returns -1 for recordings that have not yet started.

<br />

| Returns ||
|---|---|
| `long` | Value is -1 or greater <br /> |

### getRecordingId

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

```
public String getRecordingId ()
```

Returns the ID of this recording. This ID is created and maintained by the TV app.

<br />

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

### getRecordingStartTimeMillis

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

```
public long getRecordingStartTimeMillis ()
```

The real start time of the recording, including any padding, in milliseconds since the epoch.

This may not be the same as the value of `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#getScheduledStartTimeMillis()` due to a
recording starting late, or due to start/end padding.

Returns -1 for recordings that have not yet started.

<br />

| Returns ||
|---|---|
| `long` | Value is -1 or greater <br /> |

### getRecordingUri

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

```
public Uri getRecordingUri ()
```

The uri of the recording in local storage.

Could be null in the event that the recording has not been completed.

<br />

| Returns ||
|---|---|
| `https://developer.android.com/reference/android/net/Uri` | <br /> |

### getRepeatDays

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

```
public int getRepeatDays ()
```

Returns the days of the week for which this recording should be repeated for.

This information is represented in the form of a bitfield, with each bit
representing the day which the recording should be repeated.

The bitfield corresponds to each day of the week with the following format:

- `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#SUNDAY` - 0x01 (00000001)
- `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#MONDAY` - 0x02 (00000010)
- `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#TUESDAY` - 0x04 (00000100)
- `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#WEDNESDAY` - 0x08 (00001000)
- `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#THURSDAY` - 0x10 (00010000)
- `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#FRIDAY` - 0x20 (00100000)
- `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#SATURDAY` - 0x40 (01000000)

You can specify multiple days to repeat the recording by performing a bitwise 'OR' on the
bitfield. For example, for a recording to repeat on Sunday and Mondays, this function should
return 0x03 (00000011).

A value of 0x00 indicates that the recording will not be repeated.

This format comes from the [Open IPTV Forum Release 2 Specification](https://www.oipf.tv/docs/OIPF-T1-R2_Specification-Volume-5-Declarative-Application-Environment-v2_3-2014-01-24.pdf). It is described in Volume 5, section 7.10.1.1.

<br />

| Returns ||
|---|---|
| `int` | Value is either `0` or a combination of the following: - `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#SUNDAY` - `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#MONDAY` - `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#TUESDAY` - `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#WEDNESDAY` - `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#THURSDAY` - `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#FRIDAY` - `https://developer.android.com/reference/android/media/tv/TvRecordingInfo#SATURDAY` |

### getScheduledDurationMillis

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

```
public long getScheduledDurationMillis ()
```

Returns the scheduled duration of the recording in milliseconds since the epoch.

<br />

| Returns ||
|---|---|
| `long` | Value is 0 or greater <br /> |

### getScheduledStartTimeMillis

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

```
public long getScheduledStartTimeMillis ()
```

Returns the scheduled start time of the recording in milliseconds since the epoch.

<br />

| Returns ||
|---|---|
| `long` | Value is 0 or greater <br /> |

### getStartPaddingMillis

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

```
public long getStartPaddingMillis ()
```

Returns the start padding duration of this recording in milliseconds since the epoch.

A positive value should cause the recording to start earlier than the specified time.
This should cause the actual duration of the recording to increase. A negative value should
cause the recording to start later than the specified time. This should cause the actual
duration of the recording to decrease.

<br />

| Returns ||
|---|---|
| `long` | <br /> |

### setDescription

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

```
public void setDescription (String description)
```

Sets the description of the scheduled recording.

Updates to the `https://developer.android.com/reference/android/media/tv/TvRecordingInfo` can be sent to the TV app with
`https://developer.android.com/reference/android/media/tv/interactive/TvInteractiveAppService.Session#setTvRecordingInfo(java.lang.String,%20android.media.tv.TvRecordingInfo)`

<br />

| Parameters ||
|---|---|
| `description` | `String`: This value cannot be `null`. <br /> |

### setName

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

```
public void setName (String name)
```

Sets the name of the scheduled recording.

Updates to the `https://developer.android.com/reference/android/media/tv/TvRecordingInfo` can be sent to the TV app with
`https://developer.android.com/reference/android/media/tv/interactive/TvInteractiveAppService.Session#setTvRecordingInfo(java.lang.String,%20android.media.tv.TvRecordingInfo)`

<br />

| Parameters ||
|---|---|
| `name` | `String`: This value cannot be `null`. <br /> |

### writeToParcel

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

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

Used to package this object into a `https://developer.android.com/reference/android/os/Parcel`.

<br />

| Parameters ||
|---|---|
| `dest` | `Parcel`: The `https://developer.android.com/reference/android/os/Parcel` to be written. This value cannot be `null`. <br /> |
| `flags` | `int`: The flags used for parceling. <br /> |