Språk

Notification.BridgedNotificationMetadata(String, String, String, Icon) Constructor

Definition

Initializes the origin-device, application, and channel information for a bridged notification.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/graphics/drawable/Icon;)V", "", ApiSince=37)]
public BridgedNotificationMetadata(string originDeviceName, string packageName, string channelId, Android.Graphics.Drawables.Icon appIcon);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/graphics/drawable/Icon;)V", "", ApiSince=37)>]
new Android.App.Notification.BridgedNotificationMetadata : string * string * string * Android.Graphics.Drawables.Icon -> Android.App.Notification.BridgedNotificationMetadata

Parameters

originDeviceName
String

The display name of the device on which the notification originated.

packageName
String

The non-null package name of the originating application.

channelId
String

The non-null notification-channel identifier on the origin device.

appIcon
Icon

The non-null icon representing the originating application.

Attributes

Remarks

This object describes the notification's origin; constructing it does not authorize the caller to publish a bridged notification.

Applies to