Contents

UserActivity

The context for playing a media queue.

Declaration

object UserActivity

Properties

NameTypeDescription
activityType Requiredstring

A reverse-DNS string that uniquely identifies the activity. Provide the same activity types your app specifies in NSUserActivity objects.

persistentIdentifierstring

An identifier for this activity.

titlestring

A short description of this activity for logging or debugging purposes.

userInfoUserActivity.UserActivityUserInfo

Additional data your service needs to fulfill requests to Get a Media Queue.

version Requiredstring

The version of the SiriKitMediaAPI library this activity conforms to.

Discussion

Create a UserActivity and provide it in your response to a Process a Play Media Intent. When the client receives your response, it includes this activity in its request to Get a Media Queue to define the queue it’s requesting.

Topics

Maintaining State

See Also

Intents