SourceSuspensionChangedEventArgs
SourceSuspensionChangedEventArgs
SourceSuspensionChangedEventArgs
SourceSuspensionChangedEventArgs
Class
Definition
Provides information about a SourceSuspensionChanged event which is triggered when the capture of audio or video is suspended or resumed.
public : sealed class SourceSuspensionChangedEventArgs : ISourceSuspensionChangedEventArgspublic sealed class SourceSuspensionChangedEventArgs : ISourceSuspensionChangedEventArgsPublic NotInheritable Class SourceSuspensionChangedEventArgs Implements ISourceSuspensionChangedEventArgs// You can use this class in JavaScript.
- Attributes
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
|
| API contract |
Windows.Phone.PhoneContract (introduced v1)
|
Remarks
Handle the ScreenCapture.SourceSuspensionChanged event to obtain an instance of this class.
Properties
IsAudioSuspended IsAudioSuspended IsAudioSuspended IsAudioSuspended
Gets whether the screen capture of audio is currently suspended.
public : PlatForm::Boolean IsAudioSuspended { get; }public bool IsAudioSuspended { get; }Public ReadOnly Property IsAudioSuspended As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
Whether the screen capture of audio is currently suspended.
Remarks
The recording of audio during screen capture is suspended when protected audio content, such as content protected by DRM, is played. You can also check the IsAudioSuspended property to determine if audio capture is suspended outside of the SourceSuspensionChanged event handler.
IsVideoSuspended IsVideoSuspended IsVideoSuspended IsVideoSuspended
Gets whether the screen capture of audio is currently suspended.
public : PlatForm::Boolean IsVideoSuspended { get; }public bool IsVideoSuspended { get; }Public ReadOnly Property IsVideoSuspended As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
Whether the screen capture of audio is currently suspended.
Remarks
The recording of video during screen capture is suspended when protected visual content, such as an incoming call notification, is displayed. You can also check the IsVideoSuspended property to determine if video capture is suspended outside of the SourceSuspensionChanged event handler.