AppBroadcastMicrophoneCaptureState 枚举

定义

指定应用广播麦克风捕获的状态。

注意

此 API 需要 appBroadcastappBroadcastSettings 功能,这些功能并非适用于所有 Windows 应用。 除非你的开发人员帐户由 Microsoft 专门预配,否则对此 API 的调用将在运行时失败。

public enum class AppBroadcastMicrophoneCaptureState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
enum class AppBroadcastMicrophoneCaptureState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
public enum AppBroadcastMicrophoneCaptureState
var value = Windows.Media.Capture.AppBroadcastMicrophoneCaptureState.stopped
Public Enum AppBroadcastMicrophoneCaptureState
继承
AppBroadcastMicrophoneCaptureState
属性

Windows 要求

设备系列
Windows Desktop Extension SDK (在 10.0.15063.0 中引入)
API contract
Windows.Media.Capture.AppBroadcastContract (在 v1.0 中引入)
应用功能
appBroadcast appBroadcastSettings

字段

Failed 2

麦克风捕获失败。

Started 1

麦克风捕获已启动。

Stopped 0

麦克风捕获已停止。

适用于