SourceSuspensionChangedEventArgs 类

定义

提供有关在暂停或恢复捕获音频或视频时触发的 SourceSuspensionChanged 事件的信息。

public ref class SourceSuspensionChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SourceSuspensionChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SourceSuspensionChangedEventArgs
Public NotInheritable Class SourceSuspensionChangedEventArgs
继承
Object Platform::Object IInspectable SourceSuspensionChangedEventArgs
属性

Windows 要求

设备系列
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
API contract
Windows.Phone.PhoneContract (在 v1.0 中引入)

注解

处理 ScreenCapture.SourceSuspensionChanged 事件以获取此类的实例。

属性

IsAudioSuspended

获取当前是否暂停了音频的屏幕捕获。

IsVideoSuspended

获取当前是否暂停了音频的屏幕捕获。

适用于