Struct iOSNotificationAttachment
Notification attachment. Refer to Apple documentation for details. https://developer.apple.com/documentation/usernotifications/unnotificationattachment?language=objc
Inherited Members
Namespace: Unity.Notifications.iOS
Assembly: solution.dll
Syntax
public struct iOSNotificationAttachment
Properties
Id
A unique identifier for the attachments. Will be auto-generated if left empty.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Url
URL to local file, accessible to the application.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
string |
Examples
attachmend.Url = new System.Uri(System.IO.Path.Combine(Application.streamingAssetsPath, fileName)).AbsoluteUri;