Notification.BridgedNotificationMetadata(String, String, String, Icon) Constructor
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.
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.