Share via


AppBroadcastingMonitor Class

Definition

Allows an app to determine if it is currently being broadcast and to receive an event when the app starts or stops broadcasting.

public ref class AppBroadcastingMonitor sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Media.AppBroadcasting.AppBroadcastingContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Media.AppBroadcasting.AppBroadcastingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AppBroadcastingMonitor final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Media.AppBroadcasting.AppBroadcastingContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Media.AppBroadcasting.AppBroadcastingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AppBroadcastingMonitor
function AppBroadcastingMonitor()
Public NotInheritable Class AppBroadcastingMonitor
Inheritance
Object Platform::Object IInspectable AppBroadcastingMonitor
Attributes

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.16299.0)
API contract
Windows.Media.AppBroadcasting.AppBroadcastingContract (introduced in v1.0)

Remarks

An app can use this class to show or hide UI elements that indicate that the app is currently broadcasting.

Constructors

AppBroadcastingMonitor()

Initializes a new instance of the AppBroadcastingMonitor class.

Properties

IsCurrentAppBroadcasting

Gets a value indicating whether the current app is currently broadcasting.

Events

IsCurrentAppBroadcastingChanged

Occurs when the current broadcasting state of the current app changes.

Applies to