# Program

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)   
belongs to Maven artifact com.android.support:support-tv-provider:28.0.0-alpha1  
Summary: [Nested Classes](https://developer.android.com/reference/android/support/media/tv/Program#nestedclasses) \| [Methods](https://developer.android.com/reference/android/support/media/tv/Program#pubmethods) \| [Inherited Methods](https://developer.android.com/reference/android/support/media/tv/Program#inhmethods) \| [\[Expand All\]](https://developer.android.com/reference/android/support/media/tv/Program#)  

# Program

| This package is part of the Android [support library](https://developer.android.com/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](https://developer.android.com/jetpack/androidx) which is part of [Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](https://developer.android.com/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class
| mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).


`
public

final

class
Program
`


`

extends Object


`

`


implements

Comparable<`[Program](https://developer.android.com/reference/android/support/media/tv/Program)`>


`

|---|----------------------------------|
| java.lang.Object                    ||
| ↳ | android.support.media.tv.Program |

<br />

*** ** * ** ***

A convenience class to access [TvContractCompat.Programs](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs) entries in the system content
provider.

This class makes it easy to insert or retrieve a program from the system content provider,
which is defined in [TvContractCompat](https://developer.android.com/reference/android/support/media/tv/TvContractCompat).

Usage example when inserting a program:  

```
 Program program = new Program.Builder()
         .setChannelId(channel.getId())
         .setTitle("Program Title")
         .setDescription("Program Description")
         .setPosterArtUri(Uri.parse("http://example.com/poster_art.png"))
         // Set more attributes...
         .build();
 Uri programUri = getContentResolver().insert(Programs.CONTENT_URI, program.toContentValues());
 
```

Usage example when retrieving a program:  

```
 Program program;
 try (Cursor cursor = resolver.query(programUri, null, null, null, null)) {
     if (cursor != null && cursor.getCount() != 0) {
         cursor.moveToNext();
         program = Program.fromCursor(cursor);
     }
 }
 
```

Usage example when updating an existing program:  

```
 Program updatedProgram = new Program.Builder(program)
         .setEndTimeUtcMillis(newProgramEndTime)
         .build();
 getContentResolver().update(TvContractCompat.buildProgramUri(updatedProgram.getId()),
         updatedProgram.toContentValues(), null, null);
 
```

Usage example when deleting a program:  

```
 getContentResolver().delete(TvContractCompat.buildProgramUri(existingProgram.getId()),
         null, null);
 
```

<br />

## Summary

|                                                                                                                    ### Nested classes                                                                                                                     ||
|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` class` | [Program.Builder](https://developer.android.com/reference/android/support/media/tv/Program.Builder) This Builder class simplifies the creation of a [Program](https://developer.android.com/reference/android/support/media/tv/Program) object. |

|                                                                                                                                                                                                                                                        ### Public methods                                                                                                                                                                                                                                                        ||
|-------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` int`                                                                                                | ` `[compareTo](https://developer.android.com/reference/android/support/media/tv/Program#compareTo(android.support.media.tv.Program))`(`[Program](https://developer.android.com/reference/android/support/media/tv/Program)` other) `                                                                                                                                                                                      |
| ` boolean`                                                                                            | ` `[equals](https://developer.android.com/reference/android/support/media/tv/Program#equals(java.lang.Object))`(Object other) `                                                                                                                                                                                                                                                                                           |
| ` static `[Program](https://developer.android.com/reference/android/support/media/tv/Program)         | ` `[fromCursor](https://developer.android.com/reference/android/support/media/tv/Program#fromCursor(android.database.Cursor))`(`[Cursor](https://developer.android.com/reference/android/database/Cursor.html)` cursor) ` Creates a Program object from a cursor including the fields defined in [TvContractCompat.Programs](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs). |
| ` String[]`                                                                                           | ` `[getAudioLanguages](https://developer.android.com/reference/android/support/media/tv/Program#getAudioLanguages())`() `                                                                                                                                                                                                                                                                                                 |
| ` String[]`                                                                                           | ` `[getBroadcastGenres](https://developer.android.com/reference/android/support/media/tv/Program#getBroadcastGenres())`() `                                                                                                                                                                                                                                                                                               |
| ` String[]`                                                                                           | ` `[getCanonicalGenres](https://developer.android.com/reference/android/support/media/tv/Program#getCanonicalGenres())`() `                                                                                                                                                                                                                                                                                               |
| ` long`                                                                                               | ` `[getChannelId](https://developer.android.com/reference/android/support/media/tv/Program#getChannelId())`() `                                                                                                                                                                                                                                                                                                           |
| ` `[TvContentRating[]](https://developer.android.com/reference/android/media/tv/TvContentRating.html) | ` `[getContentRatings](https://developer.android.com/reference/android/support/media/tv/Program#getContentRatings())`() `                                                                                                                                                                                                                                                                                                 |
| ` String`                                                                                             | ` `[getDescription](https://developer.android.com/reference/android/support/media/tv/Program#getDescription())`() `                                                                                                                                                                                                                                                                                                       |
| ` long`                                                                                               | ` `[getEndTimeUtcMillis](https://developer.android.com/reference/android/support/media/tv/Program#getEndTimeUtcMillis())`() `                                                                                                                                                                                                                                                                                             |
| ` String`                                                                                             | ` `[getEpisodeNumber](https://developer.android.com/reference/android/support/media/tv/Program#getEpisodeNumber())`() `                                                                                                                                                                                                                                                                                                   |
| ` String`                                                                                             | ` `[getEpisodeTitle](https://developer.android.com/reference/android/support/media/tv/Program#getEpisodeTitle())`() `                                                                                                                                                                                                                                                                                                     |
| ` long`                                                                                               | ` `[getId](https://developer.android.com/reference/android/support/media/tv/Program#getId())`() `                                                                                                                                                                                                                                                                                                                         |
| ` byte[]`                                                                                             | ` `[getInternalProviderDataByteArray](https://developer.android.com/reference/android/support/media/tv/Program#getInternalProviderDataByteArray())`() `                                                                                                                                                                                                                                                                   |
| ` Long`                                                                                               | ` `[getInternalProviderFlag1](https://developer.android.com/reference/android/support/media/tv/Program#getInternalProviderFlag1())`() `                                                                                                                                                                                                                                                                                   |
| ` Long`                                                                                               | ` `[getInternalProviderFlag2](https://developer.android.com/reference/android/support/media/tv/Program#getInternalProviderFlag2())`() `                                                                                                                                                                                                                                                                                   |
| ` Long`                                                                                               | ` `[getInternalProviderFlag3](https://developer.android.com/reference/android/support/media/tv/Program#getInternalProviderFlag3())`() `                                                                                                                                                                                                                                                                                   |
| ` Long`                                                                                               | ` `[getInternalProviderFlag4](https://developer.android.com/reference/android/support/media/tv/Program#getInternalProviderFlag4())`() `                                                                                                                                                                                                                                                                                   |
| ` String`                                                                                             | ` `[getLongDescription](https://developer.android.com/reference/android/support/media/tv/Program#getLongDescription())`() `                                                                                                                                                                                                                                                                                               |
| ` `[Uri](https://developer.android.com/reference/android/net/Uri.html)                                | ` `[getPosterArtUri](https://developer.android.com/reference/android/support/media/tv/Program#getPosterArtUri())`() `                                                                                                                                                                                                                                                                                                     |
| ` String`                                                                                             | ` `[getReviewRating](https://developer.android.com/reference/android/support/media/tv/Program#getReviewRating())`() `                                                                                                                                                                                                                                                                                                     |
| ` int`                                                                                                | ` `[getReviewRatingStyle](https://developer.android.com/reference/android/support/media/tv/Program#getReviewRatingStyle())`() `                                                                                                                                                                                                                                                                                           |
| ` String`                                                                                             | ` `[getSeasonNumber](https://developer.android.com/reference/android/support/media/tv/Program#getSeasonNumber())`() `                                                                                                                                                                                                                                                                                                     |
| ` String`                                                                                             | ` `[getSeasonTitle](https://developer.android.com/reference/android/support/media/tv/Program#getSeasonTitle())`() `                                                                                                                                                                                                                                                                                                       |
| ` long`                                                                                               | ` `[getStartTimeUtcMillis](https://developer.android.com/reference/android/support/media/tv/Program#getStartTimeUtcMillis())`() `                                                                                                                                                                                                                                                                                         |
| ` `[Uri](https://developer.android.com/reference/android/net/Uri.html)                                | ` `[getThumbnailUri](https://developer.android.com/reference/android/support/media/tv/Program#getThumbnailUri())`() `                                                                                                                                                                                                                                                                                                     |
| ` String`                                                                                             | ` `[getTitle](https://developer.android.com/reference/android/support/media/tv/Program#getTitle())`() `                                                                                                                                                                                                                                                                                                                   |
| ` int`                                                                                                | ` `[getVideoHeight](https://developer.android.com/reference/android/support/media/tv/Program#getVideoHeight())`() `                                                                                                                                                                                                                                                                                                       |
| ` int`                                                                                                | ` `[getVideoWidth](https://developer.android.com/reference/android/support/media/tv/Program#getVideoWidth())`() `                                                                                                                                                                                                                                                                                                         |
| ` int`                                                                                                | ` `[hashCode](https://developer.android.com/reference/android/support/media/tv/Program#hashCode())`() `                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                                            | ` `[isRecordingProhibited](https://developer.android.com/reference/android/support/media/tv/Program#isRecordingProhibited())`() `                                                                                                                                                                                                                                                                                         |
| ` boolean`                                                                                            | ` `[isSearchable](https://developer.android.com/reference/android/support/media/tv/Program#isSearchable())`() `                                                                                                                                                                                                                                                                                                           |
| ` `[ContentValues](https://developer.android.com/reference/android/content/ContentValues.html)        | ` `[toContentValues](https://developer.android.com/reference/android/support/media/tv/Program#toContentValues())`() `                                                                                                                                                                                                                                                                                                     |
| ` String`                                                                                             | ` `[toString](https://developer.android.com/reference/android/support/media/tv/Program#toString())`() `                                                                                                                                                                                                                                                                                                                   |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/media/tv/Program#)From class ` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/media/tv/Program#)From interface ` java.lang.Comparable ` |-----------------|-----------------------------------------------------------------------------------------------------------| | ` abstract int` | ` compareTo(`[Program](https://developer.android.com/reference/android/support/media/tv/Program)` arg0) ` | ||

## Public methods

### compareTo

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int compareTo (Program other)
```

<br />

<br />

|                         Parameters                          ||
|---------|----------------------------------------------------|
| `other` | `Program`: The program you're comparing to. <br /> |

|                        Returns                         ||
|-------|-------------------------------------------------|
| `int` | The chronological order of the programs. <br /> |

### equals

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean equals (Object other)
```

<br />

<br />

|        Parameters        ||
|---------|-----------------|
| `other` | `Object` <br /> |

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

### fromCursor

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Program fromCursor (Cursor cursor)
```

Creates a Program object from a cursor including the fields defined in [TvContractCompat.Programs](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs).

<br />

|                               Parameters                               ||
|----------|--------------------------------------------------------------|
| `cursor` | `Cursor`: A row from the TV Input Framework database. <br /> |

|                                                                   Returns                                                                    ||
|-------------------------------------------------------------------------------------|---------------------------------------------------------|
| [Program](https://developer.android.com/reference/android/support/media/tv/Program) | A Program with the values taken from the cursor. <br /> |

### getAudioLanguages

```
String[] getAudioLanguages ()
```

<br />

<br />

|                         Returns                         ||
|------------|---------------------------------------------|
| `String[]` | The audio languages for the program. <br /> |

**See also:**

- [COLUMN_AUDIO_LANGUAGE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_AUDIO_LANGUAGE)  

### getBroadcastGenres

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
String[] getBroadcastGenres ()
```

<br />

<br />

|                                                                                           Returns                                                                                            ||
|------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `String[]` | The value of [COLUMN_BROADCAST_GENRE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_BROADCAST_GENRE) for the program. <br /> |

### getCanonicalGenres

```
String[] getCanonicalGenres ()
```

<br />

<br />

|                         Returns                         ||
|------------|---------------------------------------------|
| `String[]` | The canonical genre for the program. <br /> |

**See also:**

- [COLUMN_CANONICAL_GENRE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_CANONICAL_GENRE)  

### getChannelId

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
long getChannelId ()
```

<br />

<br />

|                                                                                    Returns                                                                                     ||
|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `long` | The value of [COLUMN_CHANNEL_ID](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_CHANNEL_ID) for the program. <br /> |

### getContentRatings

```
TvContentRating[] getContentRatings ()
```

<br />

<br />

|                                                                    Returns                                                                     ||
|----------------------------------------------------------------------------------------------------|--------------------------------------------|
| [TvContentRating[]](https://developer.android.com/reference/android/media/tv/TvContentRating.html) | The content rating for the program. <br /> |

**See also:**

- [COLUMN_CONTENT_RATING](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_CONTENT_RATING)  

### getDescription

```
String getDescription ()
```

<br />

<br />

|                         Returns                         ||
|----------|-----------------------------------------------|
| `String` | The short description for the program. <br /> |

**See also:**

- [COLUMN_SHORT_DESCRIPTION](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_SHORT_DESCRIPTION)  

### getEndTimeUtcMillis

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
long getEndTimeUtcMillis ()
```

<br />

<br />

|                                                                                             Returns                                                                                              ||
|--------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `long` | The value of [COLUMN_END_TIME_UTC_MILLIS](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_END_TIME_UTC_MILLIS) for the program. <br /> |

### getEpisodeNumber

```
String getEpisodeNumber ()
```

<br />

<br />

|                           Returns                            ||
|----------|----------------------------------------------------|
| `String` | The episode display number for the program. <br /> |

**See also:**

- [COLUMN_EPISODE_DISPLAY_NUMBER](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_EPISODE_DISPLAY_NUMBER)  

### getEpisodeTitle

```
String getEpisodeTitle ()
```

<br />

<br />

|                       Returns                       ||
|----------|-------------------------------------------|
| `String` | The episode title for the program. <br /> |

**See also:**

- [COLUMN_EPISODE_TITLE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_EPISODE_TITLE)  

### getId

```
long getId ()
```

<br />

<br />

|                Returns                 ||
|--------|--------------------------------|
| `long` | The ID for the program. <br /> |

**See also:**

- [_ID](https://developer.android.com/https://developer.android.com/reference/android/provider/BaseColumns#_ID)  

### getInternalProviderDataByteArray

```
byte[] getInternalProviderDataByteArray ()
```

<br />

<br />

|                           Returns                            ||
|----------|----------------------------------------------------|
| `byte[]` | The internal provider data for the program. <br /> |

**See also:**

- [COLUMN_INTERNAL_PROVIDER_DATA](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_INTERNAL_PROVIDER_DATA)  

### getInternalProviderFlag1

```
Long getInternalProviderFlag1 ()
```

<br />

<br />

|                             Returns                              ||
|--------|----------------------------------------------------------|
| `Long` | The first internal provider flag for the program. <br /> |

**See also:**

- [COLUMN_INTERNAL_PROVIDER_FLAG1](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_INTERNAL_PROVIDER_FLAG1)  

### getInternalProviderFlag2

```
Long getInternalProviderFlag2 ()
```

<br />

<br />

|                              Returns                              ||
|--------|-----------------------------------------------------------|
| `Long` | The second internal provider flag for the program. <br /> |

**See also:**

- [COLUMN_INTERNAL_PROVIDER_FLAG2](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_INTERNAL_PROVIDER_FLAG2)  

### getInternalProviderFlag3

```
Long getInternalProviderFlag3 ()
```

<br />

<br />

|                             Returns                              ||
|--------|----------------------------------------------------------|
| `Long` | The third internal provider flag for the program. <br /> |

**See also:**

- [COLUMN_INTERNAL_PROVIDER_FLAG3](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_INTERNAL_PROVIDER_FLAG3)  

### getInternalProviderFlag4

```
Long getInternalProviderFlag4 ()
```

<br />

<br />

|                             Returns                              ||
|--------|----------------------------------------------------------|
| `Long` | The forth internal provider flag for the program. <br /> |

**See also:**

- [COLUMN_INTERNAL_PROVIDER_FLAG4](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_INTERNAL_PROVIDER_FLAG4)  

### getLongDescription

```
String getLongDescription ()
```

<br />

<br />

|                        Returns                         ||
|----------|----------------------------------------------|
| `String` | The long description for the program. <br /> |

**See also:**

- [COLUMN_LONG_DESCRIPTION](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_LONG_DESCRIPTION)  

### getPosterArtUri

```
Uri getPosterArtUri ()
```

<br />

<br />

|                                                     Returns                                                     ||
|---------------------------------------------------------------------|--------------------------------------------|
| [Uri](https://developer.android.com/reference/android/net/Uri.html) | The poster art URI for the program. <br /> |

**See also:**

- [COLUMN_POSTER_ART_URI](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_POSTER_ART_URI)  

### getReviewRating

```
String getReviewRating ()
```

<br />

<br />

|                       Returns                       ||
|----------|-------------------------------------------|
| `String` | The review rating for the program. <br /> |

**See also:**

- [COLUMN_REVIEW_RATING](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_REVIEW_RATING)  

### getReviewRatingStyle

```
int getReviewRatingStyle ()
```

<br />

<br />

|                        Returns                         ||
|-------|-------------------------------------------------|
| `int` | The review rating style for the program. <br /> |

**See also:**

- [COLUMN_REVIEW_RATING_STYLE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_REVIEW_RATING_STYLE)  

### getSeasonNumber

```
String getSeasonNumber ()
```

<br />

<br />

|                           Returns                           ||
|----------|---------------------------------------------------|
| `String` | The season display number for the program. <br /> |

**See also:**

- [COLUMN_SEASON_DISPLAY_NUMBER](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_SEASON_DISPLAY_NUMBER)  

### getSeasonTitle

```
String getSeasonTitle ()
```

<br />

<br />

|                      Returns                       ||
|----------|------------------------------------------|
| `String` | The season title for the program. <br /> |

**See also:**

- [COLUMN_SEASON_TITLE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_SEASON_TITLE)  

### getStartTimeUtcMillis

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
long getStartTimeUtcMillis ()
```

<br />

<br />

|                                                                                               Returns                                                                                                ||
|--------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `long` | The value of [COLUMN_START_TIME_UTC_MILLIS](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_START_TIME_UTC_MILLIS) for the program. <br /> |

### getThumbnailUri

```
Uri getThumbnailUri ()
```

<br />

<br />

|                                                    Returns                                                     ||
|---------------------------------------------------------------------|-------------------------------------------|
| [Uri](https://developer.android.com/reference/android/net/Uri.html) | The thumbnail URI for the program. <br /> |

**See also:**

- [COLUMN_THUMBNAIL_URI](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_THUMBNAIL_URI)  

### getTitle

```
String getTitle ()
```

<br />

<br />

|                   Returns                   ||
|----------|-----------------------------------|
| `String` | The title for the program. <br /> |

**See also:**

- [COLUMN_TITLE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_TITLE)  

### getVideoHeight

```
int getVideoHeight ()
```

<br />

<br />

|                     Returns                     ||
|-------|------------------------------------------|
| `int` | The video height for the program. <br /> |

**See also:**

- [COLUMN_VIDEO_HEIGHT](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_VIDEO_HEIGHT)  

### getVideoWidth

```
int getVideoWidth ()
```

<br />

<br />

|                    Returns                     ||
|-------|-----------------------------------------|
| `int` | The video width for the program. <br /> |

**See also:**

- [COLUMN_VIDEO_WIDTH](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_VIDEO_WIDTH)  

### hashCode

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int hashCode ()
```

<br />

<br />

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

### isRecordingProhibited

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean isRecordingProhibited ()
```

<br />

<br />

|                                                                                                Returns                                                                                                ||
|-----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `boolean` | The value of [COLUMN_RECORDING_PROHIBITED](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_RECORDING_PROHIBITED) for the program. <br /> |

### isSearchable

```
boolean isSearchable ()
```

<br />

<br />

|                           Returns                           ||
|-----------|--------------------------------------------------|
| `boolean` | Whether the program is searchable or not. <br /> |

**See also:**

- [COLUMN_SEARCHABLE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs#COLUMN_SEARCHABLE)  

### toContentValues

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
ContentValues toContentValues ()
```

<br />

<br />

|                                                                                                        Returns                                                                                                        ||
|---------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------|
| [ContentValues](https://developer.android.com/reference/android/content/ContentValues.html) | The fields of the Program in the ContentValues format to be easily inserted into the TV Input Framework database. <br /> |

### toString

added in [version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
String toString ()
```

<br />

<br />

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

-

  ## Interfaces

  - [TvContractCompat.BaseTvColumns](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.BaseTvColumns)
-

  ## Classes

  - [Channel](https://developer.android.com/reference/android/support/media/tv/Channel)
  - [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder)
  - [ChannelLogoUtils](https://developer.android.com/reference/android/support/media/tv/ChannelLogoUtils)
  - [PreviewProgram](https://developer.android.com/reference/android/support/media/tv/PreviewProgram)
  - [PreviewProgram.Builder](https://developer.android.com/reference/android/support/media/tv/PreviewProgram.Builder)
  - [Program](https://developer.android.com/reference/android/support/media/tv/Program)
  - [Program.Builder](https://developer.android.com/reference/android/support/media/tv/Program.Builder)
  - [R](https://developer.android.com/reference/android/support/media/tv/R)
  - [R.attr](https://developer.android.com/reference/android/support/media/tv/R.attr)
  - [R.bool](https://developer.android.com/reference/android/support/media/tv/R.bool)
  - [R.color](https://developer.android.com/reference/android/support/media/tv/R.color)
  - [R.dimen](https://developer.android.com/reference/android/support/media/tv/R.dimen)
  - [R.drawable](https://developer.android.com/reference/android/support/media/tv/R.drawable)
  - [R.id](https://developer.android.com/reference/android/support/media/tv/R.id)
  - [R.integer](https://developer.android.com/reference/android/support/media/tv/R.integer)
  - [R.layout](https://developer.android.com/reference/android/support/media/tv/R.layout)
  - [R.string](https://developer.android.com/reference/android/support/media/tv/R.string)
  - [R.style](https://developer.android.com/reference/android/support/media/tv/R.style)
  - [R.styleable](https://developer.android.com/reference/android/support/media/tv/R.styleable)
  - [TvContractCompat](https://developer.android.com/reference/android/support/media/tv/TvContractCompat)
  - [TvContractCompat.Channels](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels)
  - [TvContractCompat.Channels.Logo](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels.Logo)
  - [TvContractCompat.PreviewPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.PreviewPrograms)
  - [TvContractCompat.Programs](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs)
  - [TvContractCompat.Programs.Genres](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Programs.Genres)
  - [TvContractCompat.RecordedPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.RecordedPrograms)
  - [TvContractCompat.WatchNextPrograms](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.WatchNextPrograms)
  - [WatchNextProgram](https://developer.android.com/reference/android/support/media/tv/WatchNextProgram)
  - [WatchNextProgram.Builder](https://developer.android.com/reference/android/support/media/tv/WatchNextProgram.Builder)