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