Instance Propertymochidev.swift-webpush 0.4.2WebPush
destination
The destination that will be opened when the action’s button is pressed.
var destination: URL
The destination that will be opened when the action’s button is pressed.
var destination: URL
s7WebPush0B7MessageO18NotificationActionV11destination20FoundationEssentials3URLVvp
What are these?8NE9D
import WebPush
struct NotificationAction
An associated action for a notification when it is displayed to the user.
enum PushMessage
Common Push Message types.
struct URL
A URL is a type that can potentially contain the location of a resource on a remote server, the path of a local file on disk, or even an arbitrary piece of encoded data.
init(from decoder: any Decoder) throws
var icon: URL?
The URL of an icon to display with the action.
var id: String
The action’s identifier.
var label: String
The action button’s label.
enum CodingKeys
The keys used when encoding NotificationAction
.