InstantMessagingFlow.RemoteComposingStateChanged Event
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.
Raised when the composing state for a remote participant changes.
public:
event EventHandler<Microsoft::Rtc::Collaboration::ComposingStateChangedEventArgs ^> ^ RemoteComposingStateChanged;
public event EventHandler<Microsoft.Rtc.Collaboration.ComposingStateChangedEventArgs> RemoteComposingStateChanged;
member this.RemoteComposingStateChanged : EventHandler<Microsoft.Rtc.Collaboration.ComposingStateChangedEventArgs>
Public Custom Event RemoteComposingStateChanged As EventHandler(Of ComposingStateChangedEventArgs)
Event Type
Examples
This example demonstrates how to detect changes in the composing state of the remote application. This code assumes that FlowConfigurationRequested event was registered on the call.
C# Receiving composing state changes
private void FlowConfigurationRequested(
object sender,
InstantMessagingFlowConfigurationRequestedEventArgs e)
{
// Register to receive composing state changes.
e.Flow.RemoteComposingStateChanged += this.ComposingStateChanged;
}
private void ComposingStateChanged(
object sender,
ComposingStateChangedEventArgs e)
{
Console.WriteLine("Participant: {0} Composing state: {1}", e.Participant.Uri, e.ComposingState);
}