PushType
The structure that offers constants you use to configure a Live Activity to receive updates through ActivityKit push notifications.
Declaration
struct PushTypeOverview
Pass the token constant to the request(attributes:contentState:pushType:) function to start a Live Activity that receives content updates with ActivityKit push notifications. Pass channel(_:) to request(attributes:contentState:pushType:) function to specify that you want to use a broadcast channel instead of a token. You can only specify one PushType.
To learn more about using ActivityKit push notifications to update your Live Activity, see Starting and updating Live Activities with ActivityKit push notifications.
Topics
Supporting ActivityKit push notifications
See Also
Starting a Live Activity
request(attributes:content:pushType:)request(attributes:content:pushType:style:)request(attributes:content:pushType:style:alertConfiguration:start:)request(attributes:content:pushType:style:alertConfiguration:startDate:)attributesActivityAttributesActivityStylecontentActivityContentActivity.ContentStateActivityAuthorizationError