MediaFlow.TryUpdateFlowState(MediaFlowState, MediaFlowState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.