Udostępnij za pośrednictwem


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 ref class AppBroadcastTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.Capture.AppBroadcastContract, 65536)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.Capture.AppBroadcastContract), 65536)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastTriggerDetails
Public NotInheritable Class AppBroadcastTriggerDetails
Inheritance
Object Platform::Object IInspectable AppBroadcastTriggerDetails
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

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

Gets an object that provides an interface between the broadcasting UWP app and the system-hosted broadcast service.

Applies to