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 : ISourceSuspensionChangedEventArgs
public sealed class SourceSuspensionChangedEventArgs : ISourceSuspensionChangedEventArgs
Public NotInheritable Class SourceSuspensionChangedEventArgs Implements ISourceSuspensionChangedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
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
var bool = sourceSuspensionChangedEventArgs.isAudioSuspended;
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
var bool = sourceSuspensionChangedEventArgs.isVideoSuspended;
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.