MediaFlow.TryUpdateFlowState(MediaFlowState, MediaFlowState) Method

Definition

Updates the MediaFlow's state.

protected:
 bool TryUpdateFlowState(Microsoft::Rtc::Collaboration::MediaFlowState state, [Runtime::InteropServices::Out] Microsoft::Rtc::Collaboration::MediaFlowState % previousState);
protected bool TryUpdateFlowState (Microsoft.Rtc.Collaboration.MediaFlowState state, out Microsoft.Rtc.Collaboration.MediaFlowState previousState);
member this.TryUpdateFlowState : Microsoft.Rtc.Collaboration.MediaFlowState *  -> bool
Protected Function TryUpdateFlowState (state As MediaFlowState, ByRef previousState As MediaFlowState) As Boolean

Parameters

state
MediaFlowState

New state of the flow.

previousState
MediaFlowState

Previous state of the flow, before the update.

Returns

Returns true, if state is updated on this method call.

Applies to