docs.unity.cn
    Show / Hide Table of Contents

    Struct iOSNotificationAttachment

    Notification attachment. Refer to Apple documentation for details. https://developer.apple.com/documentation/usernotifications/unnotificationattachment?language=objc

    Inherited Members
    ValueType.Equals(Object)
    ValueType.GetHashCode()
    ValueType.ToString()
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Namespace: Unity.Notifications.iOS
    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;
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, July 20, 2023