AppBroadcastTrigger AppBroadcastTrigger AppBroadcastTrigger AppBroadcastTrigger AppBroadcastTrigger Class

Definition

Represents an event that triggers a background task to run when an application starts gameplay broadcasting.

public : sealed class AppBroadcastTrigger : IBackgroundTrigger
struct winrt::Windows::ApplicationModel::Background::AppBroadcastTrigger : IBackgroundTrigger
public sealed class AppBroadcastTrigger : IBackgroundTrigger
Public NotInheritable Class AppBroadcastTrigger Implements IBackgroundTrigger
var appBroadcastTrigger = new appBroadcastTrigger(providerKey);
Attributes

Windows 10 requirements

Device family
Windows Desktop Extension SDK (introduced v10.0.15063.0)
API contract
Windows.Media.Capture.AppBroadcastContract (introduced v1)

Remarks

Important

Only first-party applications should use this class.

The background task must be declared in the manifest before the registration can be successful. An instance of this class is passed to the background task in its Run method.

Constructors

AppBroadcastTrigger(String) AppBroadcastTrigger(String) AppBroadcastTrigger(String) AppBroadcastTrigger(String) AppBroadcastTrigger(String)

Constructs an AppBroadcastTrigger with the name of the provider that will be doing the gameplay broadcasting.

Properties

ProviderInfo ProviderInfo ProviderInfo ProviderInfo ProviderInfo

Provides information about the application that is broadcasting gameplay.