مشاركة عبر


AppBroadcastSignInState Enum

Definition

Specifies the current sign-in state for a broadcast app.

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

The user is not signed in.

MicrosoftSignInInProgress 1

A sign-in operation with the Microsoft service is in progress.

MicrosoftSignInComplete 2

A sign-in operation with the Microsoft service is complete.

OAuthSignInInProgress 3

A sign-in operation with the broadcast provider service is in progress.

OAuthSignInComplete 4

A sign-in operation with the broadcast provider service is complete.

Remarks

Get the current sign-in state by handling the AppBroadcastBackgroundServiceSignInInfo.SignInStateChanged event.

Applies to