Raised to notify applications that the player state has changed.

Namespace:  Microsoft.Rtc.Collaboration.AudioVideo
Assembly:  Microsoft.Rtc.Collaboration(in Microsoft.Rtc.Collaboration.dll)

Syntax

Visual Basic (Declaration)
Public Event 
StateChanged 
As 
EventHandler(
Of 

PlayerStateChangedEventArgs)
C#
public event 
EventHandler<

PlayerStateChangedEventArgs> 
StateChanged
Visual C++
public:
 
event 
EventHandler<

PlayerStateChangedEventArgs^>^ 
StateChanged {
	
void 
add (
EventHandler<

PlayerStateChangedEventArgs^>^ 
value);
	
void 
remove (
EventHandler<

PlayerStateChangedEventArgs^>^ 
value);
}
JavaScript
function add_
stateChanged(
value);
function remove_
stateChanged(
value);

Remarks

The StateChanged Event is raised for every state change that occurs on the player, including when the application causes the state change.

See Also