Share via


TvContract.ActionRequestChannelBrowsable Field

Definition

Activity Action: sent by an application telling the system to make the given channel browsable with user interaction.

[Android.Runtime.Register("ACTION_REQUEST_CHANNEL_BROWSABLE", ApiSince=26)]
public const string ActionRequestChannelBrowsable;
[<Android.Runtime.Register("ACTION_REQUEST_CHANNEL_BROWSABLE", ApiSince=26)>]
val mutable ActionRequestChannelBrowsable : string

Field Value

Attributes

Remarks

Activity Action: sent by an application telling the system to make the given channel browsable with user interaction. The system may show UI to ask user to approve the channel. This is only relevant to channels with Channels#TYPE_PREVIEW type. Use Activity#startActivityForResult to get the result of the request.

The intent must contain the following bundle parameters: <ul> <li>#EXTRA_CHANNEL_ID: ID for the Channels#TYPE_PREVIEW channel as a long integer.</li> </ul>

Java documentation for android.media.tv.TvContract.ACTION_REQUEST_CHANNEL_BROWSABLE.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to