Instance Propertymochidev.swift-webpush 0.4.2WebPush
icon
The URL of an icon to display with the action.
var icon: URL?
The URL of an icon to display with the action.
var icon: URL?
s7WebPush0B7MessageO18NotificationActionV4icon20FoundationEssentials3URLVSgvp
What are these?5WCTY
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 destination: URL
The destination that will be opened when the action’s button is pressed.
var id: String
The action’s identifier.
var label: String
The action button’s label.
enum CodingKeys
The keys used when encoding NotificationAction
.