次の方法で共有


Notification.ChannelId Property

Definition

Returns the id of the channel this notification posts to.

public virtual string? ChannelId { [Android.Runtime.Register("getChannelId", "()Ljava/lang/String;", "GetGetChannelIdHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getChannelId", "()Ljava/lang/String;", "GetGetChannelIdHandler", ApiSince=26)>]
member this.ChannelId : string

Property Value

Attributes

Remarks

Returns the id of the channel this notification posts to.

Java documentation for android.app.Notification.getChannelId().

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