語言

Notification.TvExtender.SetChannelId(String) 方法

定義

指定通知在電視播出時應在哪個頻道播出。

[Android.Runtime.Register("setChannelId", "(Ljava/lang/String;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)]
public Android.App.Notification.TvExtender SetChannelId(string? channelId);
[<Android.Runtime.Register("setChannelId", "(Ljava/lang/String;)Landroid/app/Notification$TvExtender;", "", ApiSince=35)>]
member this.SetChannelId : string -> Android.App.Notification.TvExtender

參數

channelId
String

字串:此值可能是空值。

傳回

此物件用於方法鏈結。 這個值不可能為零值。

屬性

備註

指定通知在電視播出時應在哪個頻道播出。 這可能和在非電視裝置上發布通知時所傳送的頻道不同。

Android 參考資料。android.app.Notification.TvExtender.setChannelId

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於