Contents

endsWhenInitiatorLeaves

The activity should end when the initiator of the activity leaves.

Declaration

static let endsWhenInitiatorLeaves: GroupActivityMetadata.LifetimePolicy

Discussion

This case should be used in the rare instances where the initiator of the activity owns what is being shared; for example, activities that share photos or slides that exclusively belong to the initiator of the activity would use this so that when they leave the group session, the content will no longer be shared.