Notification.TvExtender.SetChannelId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the channel the notification should be delivered on when shown on TV.
[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
Parameters
- channelId
- String
String: This value may be null.
Returns
this object for method chaining. This value cannot be null.
- Attributes
Remarks
Specifies the channel the notification should be delivered on when shown on TV. It can be different from the channel that the notification is delivered to when posting on a non-TV device.
Android reference for android.app.Notification.TvExtender.setChannelId.
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.