AppBroadcastTriggerDetails
AppBroadcastTriggerDetails
AppBroadcastTriggerDetails
AppBroadcastTriggerDetails
Class
Definition
Provides details associated with a broadcast app background task.
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 : sealed class AppBroadcastTriggerDetails : IAppBroadcastTriggerDetailspublic sealed class AppBroadcastTriggerDetails : IAppBroadcastTriggerDetailsPublic NotInheritable Class AppBroadcastTriggerDetails Implements IAppBroadcastTriggerDetails// 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)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|
Remarks
Get an instance of this class by casting the TriggerDetails property of the IBackgroundTaskInstance passed into your background task's Run method.
Properties
BackgroundService BackgroundService BackgroundService BackgroundService
Gets an object that provides an interface between the broadcasting UWP app and the system-hosted broadcast service.
public : AppBroadcastBackgroundService BackgroundService { get; }public AppBroadcastBackgroundService BackgroundService { get; }Public ReadOnly Property BackgroundService As AppBroadcastBackgroundService// You can use this property in JavaScript.
- Value
- AppBroadcastBackgroundService AppBroadcastBackgroundService AppBroadcastBackgroundService AppBroadcastBackgroundService
An object that provides an interface between the broadcasting UWP app and the system-hosted broadcast service.
Additional features and requirements
| Device family |
Windows Desktop Extension SDK (introduced v10.0.15063.0)
|
| API contract |
Windows.Media.Capture.AppBroadcastContract (introduced v1)
|
| Capabilities |
appBroadcastSettings
appBroadcast
|