init(title:body:sound:)
Initializes a new alert configuration for a Live Activity update.
Declaration
init(title: LocalizedStringResource, body: LocalizedStringResource, sound: AlertConfiguration.AlertSound)Parameters
- title:
The short title that describes the purpose of the Live Activity update.
- body:
The main text of the alert for a Live Activity update.
- sound:
The sound that the system plays when the alert appears on a person’s device.