Language

Notification.BridgedNotificationMetadata.ChannelId Property

Definition

The channel ID for the notification on the origin device.

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

Property Value

Attributes

Remarks

The channel ID for the notification on the origin device. Generally this should match the channel ID that the notification would have gone to on the local device if the app is installed in both places. This is used for blocking bridged notifications if the user has muted notifications for the applications channel on the local device.

Android reference for android.app.Notification.BridgedNotificationMetadata.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