Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

Builder

class Builder
kotlin.Any
   ↳ androidx.tvprovider.media.tv.Channel.Builder

The builder class that makes it easy to chain setters to create a Channel object.

Summary

Public constructors

<init>(other: Channel!)

Public methods
Channel!

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

Channel.Builder!
setAppLinkColor(appLinkColor: Int)

Sets the background color of the App Linking card.

Channel.Builder!
setAppLinkIconUri(appLinkIconUri: Uri!)

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

Channel.Builder!
setAppLinkIntent(appLinkIntent: Intent!)

Sets the App Linking Intent.

Channel.Builder!
setAppLinkIntentUri(appLinkIntentUri: Uri!)

Sets the App Linking Intent.

Channel.Builder!
setAppLinkPosterArtUri(appLinkPosterArtUri: Uri!)

Sets the background image of the App Linking card.

Channel.Builder!
setAppLinkText(appLinkText: String!)

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

Channel.Builder!

Sets the configuration display order for this channel.

Channel.Builder!
setDescription(description: String!)

Sets the description of the Channel.

Channel.Builder!
setDisplayName(displayName: String!)

Sets the name to be displayed for the Channel.

Channel.Builder!
setDisplayNumber(displayNumber: String!)

Sets the display number of the Channel.

Channel.Builder
setGlobalContentId(@NonNull value: String)

Sets the global content ID for this channel.

Channel.Builder!
setInputId(inputId: String!)

Sets the input id of the Channel.

Channel.Builder!
setInternalProviderData(internalProviderData: ByteArray!)

Sets the internal provider data of the channel.

Channel.Builder!
setInternalProviderData(internalProviderData: String!)

Sets the internal provider data of the channel.

Channel.Builder!

Sets the internal provider flag1 for the channel.

Channel.Builder!

Sets the internal provider flag2 for the channel.

Channel.Builder!

Sets the internal provider flag3 for the channel.

Channel.Builder!

Sets the internal provider flag4 for the channel.

Channel.Builder!
setInternalProviderId(internalProviderId: String!)

Sets the internal provider ID for the channel.

Channel.Builder!
setNetworkAffiliation(networkAffiliation: String!)

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

Channel.Builder!
setOriginalNetworkId(originalNetworkId: Int)

Sets the original network id of the Channel.

Channel.Builder!
setSearchable(searchable: Boolean)

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

Channel.Builder!
setServiceId(serviceId: Int)

Sets the service id of the Channel.

Channel.Builder!
setServiceType(serviceType: String!)

Sets the type of content that will appear on this channel.

Channel.Builder!

Sets the system channel key for this channel.

Channel.Builder!

Sets whether this channel is transient or not.

Channel.Builder!
setTransportStreamId(transportStreamId: Int)

Sets the transport stream id of the Channel.

Channel.Builder!
setType(type: String!)

Sets the broadcast standard of the Channel.

Channel.Builder!
setVideoFormat(videoFormat: String!)

Sets the video format of the Channel.

Public constructors

<init>

Builder()

<init>

Builder(