共用方式為


TvContract.RequestChannelBrowsable(Context, Int64) 方法

定義

要求讓通道可流覽。

[Android.Runtime.Register("requestChannelBrowsable", "(Landroid/content/Context;J)V", "", ApiSince=26)]
public static void RequestChannelBrowsable(Android.Content.Context? context, long channelId);
[<Android.Runtime.Register("requestChannelBrowsable", "(Landroid/content/Context;J)V", "", ApiSince=26)>]
static member RequestChannelBrowsable : Android.Content.Context * int64 -> unit

參數

context
Context

存取內容提供者的內容。

channelId
Int64

要流覽的通道標識碼。

屬性

備註

要求讓通道可流覽。

呼叫之後,系統會檢閱要求,並根據其原則讓通道變得可流覽。 保證會核准套件的第一個要求。 這隻與類型為的 Channels#TYPE_PREVIEW 通道相關。

android.media.tv.TvContract.requestChannelBrowsable(android.content.Context, long)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於