Dela via


AppBroadcastExitBroadcastModeReason Enum

Definition

Gets a value that specifies the reason that broadcast mode was exited.

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 AppBroadcastExitBroadcastModeReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
enum class AppBroadcastExitBroadcastModeReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
public enum AppBroadcastExitBroadcastModeReason
var value = Windows.Media.Capture.AppBroadcastExitBroadcastModeReason.normalExit
Public Enum AppBroadcastExitBroadcastModeReason
Inheritance
AppBroadcastExitBroadcastModeReason
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
NormalExit 0

The broadcast was exited normally.

UserCanceled 1

The user canceled the broadcast.

AuthorizationFail 2

The broadcast was exited because of an authentication failure.

ForegroundAppActivated 3

The broadcast was exited because a foreground app was activated.

Applies to