Bandwidth.Standard/WebRtc/Controllers/APIController.cs
/// <summary>
/// Update a participant's subscriptions
/// This is a full update that will replace the participant's subscriptions. First call `getParticipantSubscriptions` if you need the current subscriptions. Call this function with no `Subscriptions` object to remove all subscriptions
/// </summary>
/// <param name="accountId">Required parameter: Account ID</param>
/// <param name="participantId">Required parameter: Participant ID</param>
/// <param name="sessionId">Required parameter: Session ID</param>
/// <param name="body">Optional parameter: Initial state</param>
/// <return>Returns the void response from the API call</return>
Update a participant's subscriptions
This is a full update that will replace the participant's subscriptions. First call `getParticipantSubscriptions` if you need the current subscriptions. Call this function with no `Subscriptions` object to remove all subscriptions
Update a participant ' s subscriptions This is a full update that will replace the participant ' s subscriptions . First call ` getParticipantSubscriptions ` if you need the current subscriptions . Call this function with no ` Subscriptions ` object to remove all subscriptions
public void UpdateParticipantSubscriptions(
                string accountId,
                string participantId,
                string sessionId,
                Models.Subscriptions body = null)
        {
            Task t = UpdateParticipantSubscriptionsAsync(accountId, participantId, sessionId, body);
            ApiHelper.RunTaskSynchronously(t);
        }
public void UpdateParticipantSubscriptions ( string accountId , string participantId , string sessionId , Models . Subscriptions body = null ) { Task t = UpdateParticipantSubscriptionsAsync ( accountId , participantId , sessionId , body ) ; ApiHelper . RunTaskSynchronously ( t ) ; }
Update a participant's subscriptions
This is a full update that will replace the participant's subscriptions.
Update a participant ' s subscriptions This is a full update that will replace the participant ' s subscriptions .
Returns the void response from the API call
Returns the void response from the API call
accountId
string
Required parameter: Account ID
Required parameter : Account ID
participantId
string
Required parameter: Participant ID
Required parameter : Participant ID
sessionId
string
Required parameter: Session ID
Required parameter : Session ID
body
Models.Subscriptions
Optional parameter: Initial state
Optional parameter : Initial state