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 : IAppBroadcastTrigger, IBackgroundTriggerpublic sealed class AppBroadcastTrigger : IAppBroadcastTrigger, IBackgroundTriggerPublic NotInheritable Class AppBroadcastTrigger Implements IAppBroadcastTrigger, IBackgroundTrigger// You can use this class in JavaScript.
- 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)
Constructs an AppBroadcastTrigger with the name of the provider that will be doing the gameplay broadcasting.
public : AppBroadcastTrigger(PlatForm::String providerKey)public AppBroadcastTrigger(String providerKey)Public Sub New(providerKey As String)// You can use this method in JavaScript.
Parameters
- providerKey
- PlatForm::String String String String
The name of the provider that is broadcasting gameplay.
Properties
ProviderInfo ProviderInfo ProviderInfo ProviderInfo
Provides information about the application that is broadcasting gameplay.
public : AppBroadcastTriggerProviderInfo ProviderInfo { get; set; }public AppBroadcastTriggerProviderInfo ProviderInfo { get; set; }Public ReadWrite Property ProviderInfo As AppBroadcastTriggerProviderInfo// You can use this property in JavaScript.
- Value
- AppBroadcastTriggerProviderInfo AppBroadcastTriggerProviderInfo AppBroadcastTriggerProviderInfo AppBroadcastTriggerProviderInfo
Information about the provider that is broadcasting gameplay, such as the maximum video bitrate, height and width of the video, etc.