# Channel.Builder

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:[Ctors](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#pubctors)\|[Methods](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#)  

# Channel.Builder

| 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
static
final

class
Channel.Builder
`  
`

extends Object


``


`

|---|------------------------------------------|
| java.lang.Object                            ||
| ↳ | android.support.media.tv.Channel.Builder |

<br />

*** ** * ** ***

The builder class that makes it easy to chain setters to create a[Channel](https://developer.android.com/reference/android/support/media/tv/Channel)object.

## Summary

|                                                                                                                   ### Public constructors                                                                                                                   ||
|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#Channel.Builder())`() `                                                                                                                            |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#Channel.Builder(android.support.media.tv.Channel))`(`[Channel](https://developer.android.com/reference/android/support/media/tv/Channel)` other) ` |

|                                                                                                                                                                                                  ### Public methods                                                                                                                                                                                                  ||
|--------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[Channel](https://developer.android.com/reference/android/support/media/tv/Channel)                 | ` `[build](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#build())`() ` Takes the values of the Builder object and creates a Channel object.                                                                                                                               |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setAppLinkColor](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setAppLinkColor(int))`(int appLinkColor) ` Sets the background color of the App Linking card.                                                                                                          |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setAppLinkIconUri](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setAppLinkIconUri(android.net.Uri))`(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` appLinkIconUri) ` Sets the icon to be displayed next to the text of the App Linking card. |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setAppLinkIntent](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setAppLinkIntent(android.content.Intent))`(`[Intent](https://developer.android.com/reference/android/content/Intent.html)` appLinkIntent) ` Sets the App Linking Intent.                              |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setAppLinkIntentUri](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setAppLinkIntentUri(android.net.Uri))`(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` appLinkIntentUri) ` Sets the App Linking Intent.                                      |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setAppLinkPosterArtUri](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setAppLinkPosterArtUri(android.net.Uri))`(`[Uri](https://developer.android.com/reference/android/net/Uri.html)` appLinkPosterArtUri) ` Sets the background image of the App Linking card.       |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setAppLinkText](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setAppLinkText(java.lang.String))`(String appLinkText) ` Sets the text to be displayed in the App Linking card.                                                                                         |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setConfigurationDisplayOrder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setConfigurationDisplayOrder(int))`(int value) ` Sets the configuration display order for this channel.                                                                                   |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setDescription](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setDescription(java.lang.String))`(String description) ` Sets the description of the Channel.                                                                                                           |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setDisplayName](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setDisplayName(java.lang.String))`(String displayName) ` Sets the name to be displayed for the Channel.                                                                                                 |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setDisplayNumber](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setDisplayNumber(java.lang.String))`(String displayNumber) ` Sets the display number of the Channel.                                                                                                  |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInputId](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInputId(java.lang.String))`(String inputId) ` Sets the input id of the Channel.                                                                                                                          |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInternalProviderData](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInternalProviderData(byte[]))`(byte[] internalProviderData) ` Sets the internal provider data of the channel.                                                                               |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInternalProviderData](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInternalProviderData(java.lang.String))`(String internalProviderData) ` Sets the internal provider data of the channel.                                                                     |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInternalProviderFlag1](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInternalProviderFlag1(long))`(long flag) ` Sets the internal provider flag1 for the channel.                                                                                               |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInternalProviderFlag2](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInternalProviderFlag2(long))`(long flag) ` Sets the internal provider flag2 for the channel.                                                                                               |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInternalProviderFlag3](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInternalProviderFlag3(long))`(long flag) ` Sets the internal provider flag3 for the channel.                                                                                               |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInternalProviderFlag4](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInternalProviderFlag4(long))`(long flag) ` Sets the internal provider flag4 for the channel.                                                                                               |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setInternalProviderId](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setInternalProviderId(java.lang.String))`(String internalProviderId) ` Sets the internal provider ID for the channel.                                                                            |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setNetworkAffiliation](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setNetworkAffiliation(java.lang.String))`(String networkAffiliation) ` Sets the network name for the channel, which may be different from its display name.                                      |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setOriginalNetworkId](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setOriginalNetworkId(int))`(int originalNetworkId) ` Sets the original network id of the Channel.                                                                                                 |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setSearchable](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setSearchable(boolean))`(boolean searchable) ` Sets whether this channel can be searched for in other applications.                                                                                      |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setServiceId](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setServiceId(int))`(int serviceId) ` Sets the service id of the Channel.                                                                                                                                  |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setServiceType](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setServiceType(java.lang.String))`(String serviceType) ` Sets the type of content that will appear on this channel.                                                                                     |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setSystemChannelKey](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setSystemChannelKey(java.lang.String))`(String value) ` Sets the system channel key for this channel.                                                                                              |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setTransient](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setTransient(boolean))`(boolean value) ` Sets whether this channel is transient or not.                                                                                                                   |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setTransportStreamId](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setTransportStreamId(int))`(int transportStreamId) ` Sets the transport stream id of the Channel.                                                                                                 |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setType](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setType(java.lang.String))`(String type) ` Sets the broadcast standard of the Channel.                                                                                                                         |
| ` `[Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | ` `[setVideoFormat](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#setVideoFormat(java.lang.String))`(String videoFormat) ` Sets the video format of the Channel.                                                                                                          |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/media/tv/Channel.Builder#)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() `                    | ||

## Public constructors

### Channel.Builder

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

```
Channel.Builder ()
```

<br />

<br />

### Channel.Builder

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

```
Channel.Builder (Channel other)
```

<br />

<br />

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

## Public methods

### build

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

```
Channel build ()
```

Takes the values of the Builder object and creates a Channel object.

<br />

|                                                                 Returns                                                                  ||
|-------------------------------------------------------------------------------------|-----------------------------------------------------|
| [Channel](https://developer.android.com/reference/android/support/media/tv/Channel) | Channel object with values from the Builder. <br /> |

### setAppLinkColor

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

```
Channel.Builder setAppLinkColor (int appLinkColor)
```

Sets the background color of the App Linking card.

<br />

|                                                                                             Parameters                                                                                              ||
|----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `appLinkColor` | `int`: The value of[COLUMN_APP_LINK_COLOR](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_APP_LINK_COLOR)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setAppLinkIconUri

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

```
Channel.Builder setAppLinkIconUri (Uri appLinkIconUri)
```

Sets the icon to be displayed next to the text of the App Linking card.

<br />

|                                                                                                 Parameters                                                                                                  ||
|------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `appLinkIconUri` | `Uri`: The value of[COLUMN_APP_LINK_ICON_URI](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_APP_LINK_ICON_URI)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setAppLinkIntent

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

```
Channel.Builder setAppLinkIntent (Intent appLinkIntent)
```

Sets the App Linking Intent.

<br />

|                                            Parameters                                             ||
|-----------------|----------------------------------------------------------------------------------|
| `appLinkIntent` | `Intent`: The Intent to be executed when the App Linking card is selected <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setAppLinkIntentUri

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

```
Channel.Builder setAppLinkIntentUri (Uri appLinkIntentUri)
```

Sets the App Linking Intent.

<br />

|                                                                                                                                                                         Parameters                                                                                                                                                                          ||
|--------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `appLinkIntentUri` | `Uri`: The Intent that should be executed when the App Linking card is selected. Use the method toUri(Intent.URI_INTENT_SCHEME) on your Intent to turn it into a String. See[COLUMN_APP_LINK_INTENT_URI](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_APP_LINK_INTENT_URI). <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setAppLinkPosterArtUri

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

```
Channel.Builder setAppLinkPosterArtUri (Uri appLinkPosterArtUri)
```

Sets the background image of the App Linking card.

<br />

|                                                                                                          Parameters                                                                                                          ||
|-----------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `appLinkPosterArtUri` | `Uri`: The value of[COLUMN_APP_LINK_POSTER_ART_URI](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_APP_LINK_POSTER_ART_URI)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setAppLinkText

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

```
Channel.Builder setAppLinkText (String appLinkText)
```

Sets the text to be displayed in the App Linking card.

<br />

|                                                                                             Parameters                                                                                              ||
|---------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `appLinkText` | `String`: The value of[COLUMN_APP_LINK_TEXT](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_APP_LINK_TEXT)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setConfigurationDisplayOrder

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

```
Channel.Builder setConfigurationDisplayOrder (int value)
```

Sets the configuration display order for this channel. This value will be used to order channels within the configure channels menu.

<br />

|                                                                                                      Parameters                                                                                                       ||
|---------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `value` | `int`: The value of[COLUMN_CONFIGURATION_DISPLAY_ORDER](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_CONFIGURATION_DISPLAY_ORDER)for the channel <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setDescription

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

```
Channel.Builder setDescription (String description)
```

Sets the description of the Channel.

<br />

|                                                                                           Parameters                                                                                            ||
|---------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `description` | `String`: The value of[COLUMN_DESCRIPTION](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_DESCRIPTION)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setDisplayName

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

```
Channel.Builder setDisplayName (String displayName)
```

Sets the name to be displayed for the Channel.

<br />

|                                                                                            Parameters                                                                                             ||
|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `displayName` | `String`: The value of[COLUMN_DISPLAY_NAME](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_DISPLAY_NAME)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setDisplayNumber

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

```
Channel.Builder setDisplayNumber (String displayNumber)
```

Sets the display number of the Channel.

<br />

|                                                                                               Parameters                                                                                                ||
|-----------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `displayNumber` | `String`: The value of[COLUMN_DISPLAY_NUMBER](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_DISPLAY_NUMBER)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInputId

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

```
Channel.Builder setInputId (String inputId)
```

Sets the input id of the Channel.

<br />

|                                                                                      Parameters                                                                                       ||
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `inputId` | `String`: The value of[COLUMN_INPUT_ID](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_INPUT_ID)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInternalProviderData

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

```
Channel.Builder setInternalProviderData (byte[] internalProviderData)
```

Sets the internal provider data of the channel.

<br />

|                                                                                                          Parameters                                                                                                          ||
|------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `internalProviderData` | `byte`: The value of[COLUMN_INTERNAL_PROVIDER_DATA](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_INTERNAL_PROVIDER_DATA)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInternalProviderData

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

```
Channel.Builder setInternalProviderData (String internalProviderData)
```

Sets the internal provider data of the channel.

<br />

|                                                                                                           Parameters                                                                                                           ||
|------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `internalProviderData` | `String`: The value of[COLUMN_INTERNAL_PROVIDER_DATA](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_INTERNAL_PROVIDER_DATA)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInternalProviderFlag1

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

```
Channel.Builder setInternalProviderFlag1 (long flag)
```

Sets the internal provider flag1 for the channel.

<br />

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

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInternalProviderFlag2

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

```
Channel.Builder setInternalProviderFlag2 (long flag)
```

Sets the internal provider flag2 for the channel.

<br />

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

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInternalProviderFlag3

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

```
Channel.Builder setInternalProviderFlag3 (long flag)
```

Sets the internal provider flag3 for the channel.

<br />

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

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInternalProviderFlag4

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

```
Channel.Builder setInternalProviderFlag4 (long flag)
```

Sets the internal provider flag4 for the channel.

<br />

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

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setInternalProviderId

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

```
Channel.Builder setInternalProviderId (String internalProviderId)
```

Sets the internal provider ID for the channel.

<br />

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

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setNetworkAffiliation

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

```
Channel.Builder setNetworkAffiliation (String networkAffiliation)
```

Sets the network name for the channel, which may be different from its display name.

<br />

|                                                                                                       Parameters                                                                                                       ||
|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `networkAffiliation` | `String`: The value of[COLUMN_NETWORK_AFFILIATION](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_NETWORK_AFFILIATION)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setOriginalNetworkId

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

```
Channel.Builder setOriginalNetworkId (int originalNetworkId)
```

Sets the original network id of the Channel.

<br />

|                                                                                                     Parameters                                                                                                     ||
|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `originalNetworkId` | `int`: The value of[COLUMN_ORIGINAL_NETWORK_ID](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_ORIGINAL_NETWORK_ID)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setSearchable

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

```
Channel.Builder setSearchable (boolean searchable)
```

Sets whether this channel can be searched for in other applications.

<br />

|                                                                                          Parameters                                                                                           ||
|--------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `searchable` | `boolean`: The value of[COLUMN_SEARCHABLE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_SEARCHABLE)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setServiceId

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

```
Channel.Builder setServiceId (int serviceId)
```

Sets the service id of the Channel.

<br />

|                                                                                        Parameters                                                                                        ||
|-------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `serviceId` | `int`: The value of[COLUMN_SERVICE_ID](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_SERVICE_ID)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setServiceType

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

```
Channel.Builder setServiceType (String serviceType)
```

Sets the type of content that will appear on this channel. This could refer to the underlying broadcast standard or refer to[SERVICE_TYPE_AUDIO](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#SERVICE_TYPE_AUDIO),[SERVICE_TYPE_AUDIO_VIDEO](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#SERVICE_TYPE_AUDIO_VIDEO), or[SERVICE_TYPE_OTHER](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#SERVICE_TYPE_OTHER).

<br />

|                                                                                            Parameters                                                                                             ||
|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `serviceType` | `String`: The value of[COLUMN_SERVICE_TYPE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_SERVICE_TYPE)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setSystemChannelKey

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

```
Channel.Builder setSystemChannelKey (String value)
```

Sets the system channel key for this channel. This identifier helps OEM differentiate among the app's channels. This identifier should be unique per channel for each app, and should be agreed between the app and the OEM. It is up to the OEM on how they use this identifier for customization purposes.

<br />

|                                                                                               Parameters                                                                                                ||
|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `value` | `String`: The value of[COLUMN_SYSTEM_CHANNEL_KEY](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_SYSTEM_CHANNEL_KEY)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setTransient

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

```
Channel.Builder setTransient (boolean value)
```

Sets whether this channel is transient or not.

<br />

|                                                                                       Parameters                                                                                       ||
|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `value` | `boolean`: The value of[COLUMN_TRANSIENT](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_TRANSIENT)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setTransportStreamId

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

```
Channel.Builder setTransportStreamId (int transportStreamId)
```

Sets the transport stream id of the Channel.

<br />

|                                                                                                     Parameters                                                                                                     ||
|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `transportStreamId` | `int`: The value of[COLUMN_TRANSPORT_STREAM_ID](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_TRANSPORT_STREAM_ID)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setType

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

```
Channel.Builder setType (String type)
```

Sets the broadcast standard of the Channel.

<br />

|                                                                                 Parameters                                                                                 ||
|--------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `type` | `String`: The value of[COLUMN_TYPE](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_TYPE)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <br /> |

### setVideoFormat

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

```
Channel.Builder setVideoFormat (String videoFormat)
```

Sets the video format of the Channel.

<br />

|                                                                                            Parameters                                                                                             ||
|---------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `videoFormat` | `String`: The value of[COLUMN_VIDEO_FORMAT](https://developer.android.com/reference/android/support/media/tv/TvContractCompat.Channels#COLUMN_VIDEO_FORMAT)for the channel. <br /> |

|                                                                                      Returns                                                                                       ||
|-----------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------|
| [Channel.Builder](https://developer.android.com/reference/android/support/media/tv/Channel.Builder) | This Builder object to allow for chaining of calls to builder methods. <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)