Contents

PushType

The structure that offers constants you use to configure a Live Activity to receive updates through ActivityKit push notifications.

Declaration

struct PushType

Overview

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