One Logo Pool Ball
UserNotifications · IOS API REFERENCE

UNNotificationAttachment

class · iOS 10.0+ · SDK 27.1

class UNNotificationAttachment

Members (4)

init · iOS 10.0+

init

TypeScript
static init(identifier: string, URL: string, options?: (NativeMap<unknown, unknown>) | null): UNNotificationAttachment
Swift declaration
convenience init(identifier: String, url URL: URL, options: [AnyHashable : Any]? = nil) throws
get · iOS 10.0+

url

TypeScript
get url(): string
Swift declaration
var url: URL { get }
get · iOS 10.0+

identifier

TypeScript
get identifier(): string
Swift declaration
var identifier: String { get }
get · iOS 10.0+

type

TypeScript
get type(): string
Swift declaration
var type: String { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

UNNotificationAttachment.init()

inherited init: cannot prove legal (class declares 2 custom initializers)

All UserNotifications types →