init(originator:action:url:)
Creates a new event with the specified participant and action details.
Declaration
init(originator: Participant, action: GroupSessionEvent.Action, url: URL?)Parameters
- originator:
The participant that initiated the event.
- action:
The action to report for the event. The system uses this value to generate a localized description of the action in the system UI.
- url:
The location in your app where the action occurred. Specify a universal link into your app that takes the participant to the action details. Specify
nilto bring your app to the foreground without navigating to a specific location.