MediaSourceStateChangedEventArgs
MediaSourceStateChangedEventArgs
MediaSourceStateChangedEventArgs
MediaSourceStateChangedEventArgs
Class
Definition
Provides data for the StateChanged event of a MediaSource object.
public : sealed class MediaSourceStateChangedEventArgs : IMediaSourceStateChangedEventArgspublic sealed class MediaSourceStateChangedEventArgs : IMediaSourceStateChangedEventArgsPublic NotInheritable Class MediaSourceStateChangedEventArgs Implements IMediaSourceStateChangedEventArgs// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10586.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v2)
|
Remarks
Get an instance of this class by handling the StateChanged event.
Properties
NewState NewState NewState NewState
Gets the new current state of the MediaSource.
public : MediaSourceState NewState { get; }public MediaSourceState NewState { get; }Public ReadOnly Property NewState As MediaSourceState// You can use this property in JavaScript.
The new current state of the MediaSource.
OldState OldState OldState OldState
Gets the previous state of the MediaSource before the state changed.
public : MediaSourceState OldState { get; }public MediaSourceState OldState { get; }Public ReadOnly Property OldState As MediaSourceState// You can use this property in JavaScript.
The previous state of the MediaSource before the state changed.