مشاركة عبر


AppBroadcastCameraCaptureState Enum

Definition

Specifies the state of app broadcast camera capture.

Note

This API requires the appBroadcast and appBroadcastSettings capability which is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime.

public enum class AppBroadcastCameraCaptureState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
enum class AppBroadcastCameraCaptureState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
public enum AppBroadcastCameraCaptureState
var value = Windows.Media.Capture.AppBroadcastCameraCaptureState.stopped
Public Enum AppBroadcastCameraCaptureState
Inheritance
AppBroadcastCameraCaptureState
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced in v1.0)
App capabilities
appBroadcast appBroadcastSettings

Fields

Name Value Description
Stopped 0

App broadcast camera capture is stopped.

Started 1

App broadcast camera capture has started.

Failed 2

App broadcast camera capture has failed.

Applies to