Contents

GroupActivityMetadata

Text and image content that describes an activity to potential participants.

Declaration

struct GroupActivityMetadata

Mentioned in

Overview

Use a GroupActivityMetadata structure to store user-facing information about a specific activity your app suggests. Metadata information includes the title of the activity, an image that corresponds to the activity, and a fallback URL for users who don’t have your app. For example, a movie-watching activity might include the poster of the specific movie a participant suggests. The system uses the provided metadata to generate invitations for other participants.

Create a GroupActivityMetadata structure in the metadata property of your custom GroupActivity subclass. Populate the new structure with the relevant data for your activity.

Topics

Creating group activity metadata

Presenting the activity

Indicating the activity’s type

Assigning an app-specific scene

Specifying media-related behavior

Structures

Instance Properties

Enumerations

See Also

Activity definition