setSubscriptionProfile

fun setSubscriptionProfile(participantId: ParticipantId, profile: SubscriptionProfile, listener: RequestListener? = null)

Assign a remote participant to a subscription profile.

The optional callback (listener) will be invoked either when the operation has completed, or if it encounters an error.

Errors will also be provided to the CallClientListener.onError callback.

To define your own subscription profiles, see updateSubscriptionProfiles. For more advanced subscription settings, see updateSubscriptions.


fun setSubscriptionProfile(participantIdToProfile: Map<ParticipantId, SubscriptionProfile>, listener: RequestListener? = null)

Assign remote participants to subscription profiles.

The optional callback (listener) will be invoked either when the operation has completed, or if it encounters an error.

Errors will also be provided to the CallClientListener.onError callback.

To define your own subscription profiles, see updateSubscriptionProfiles. For more advanced subscription settings, see updateSubscriptions.