Class UNNotificationAttachment

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class UNNotificationAttachment
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 10.0 and later.
  • Constructor Details

    • UNNotificationAttachment

      protected UNNotificationAttachment()
    • UNNotificationAttachment

      protected UNNotificationAttachment​(NSObject.Handle h, long handle)
    • UNNotificationAttachment

      protected UNNotificationAttachment​(NSObject.SkipInit skipInit)
    • UNNotificationAttachment

      public UNNotificationAttachment​(String identifier, NSURL URL, NSDictionary<?,​?> options) throws NSErrorException
      Throws:
      NSErrorException
    • UNNotificationAttachment

      public UNNotificationAttachment​(NSCoder coder)
  • Method Details

    • getIdentifier

      public String getIdentifier()
    • getURL

      public NSURL getURL()
    • getType

      public String getType()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • create

      protected static long create​(String identifier, NSURL URL, NSDictionary<?,​?> options, NSError.NSErrorPtr error)
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)