Dela via


AppBroadcastManager Class

Definition

Provides access to global broadcast settings for the current device and broadcast provider settings.

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

This API may throw an error if the background service has shut down due to idle timeout.

Methods

ApplyGlobalSettings(AppBroadcastGlobalSettings)

Updates the global broadcast settings for the current device.

ApplyProviderSettings(AppBroadcastProviderSettings)

Updates the broadcast provider settings.

GetGlobalSettings()

Gets an object that exposes the global broadcast settings for the current device.

GetProviderSettings()

Gets an object that exposes broadcast provider settings.

Applies to