26 lines
866 B
C#
26 lines
866 B
C#
namespace Unity.Notifications.iOS
|
|||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Notification attachment.
|
||
|
|
/// Refer to Apple documentation for details.
|
||
|
|
/// <see href="https://developer.apple.com/documentation/usernotifications/unnotificationattachment?language=objc"/>
|
||
|
|
/// </summary>
|
||
|
|
public struct iOSNotificationAttachment
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// A unique identifier for the attachments. Will be auto-generated if left empty.
|
||
|
|
/// </summary>
|
||
|
|
public string Id { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// URL to local file, accessible to the application.
|
||
|
|
/// </summary>
|
||
|
|
/// <example>
|
||
|
|
/// <code>
|
||
|
|
/// attachmend.Url = new System.Uri(System.IO.Path.Combine(Application.streamingAssetsPath, fileName)).AbsoluteUri;
|
||
|
|
/// </code>
|
||
|
|
/// </example>
|
||
|
|
public string Url { get; set; }
|
||
|
|
}
|
||
|
|
}
|