语言

Notification.Builder.SetChannelId(String) 方法

定义

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

参数

channelId
String

返回

属性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于