Share via


CommunicationBlockingAppManager Class

Definition

Determines the application to use as a blocking application.

public ref class CommunicationBlockingAppManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CommunicationBlockingAppManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class CommunicationBlockingAppManager
Public Class CommunicationBlockingAppManager
Inheritance
Object Platform::Object IInspectable CommunicationBlockingAppManager
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract (introduced in v1.0)

Remarks

A user can install multiple applications that are capable of filtering messages and calls. However, only one of these blocking applications can be active at a time. This class is used to determine the active blocking application.

When an application is selected to be the active call blocking app, it will be notified by CommunicationBlockingAppSetAsActiveTrigger

Version history

Windows version SDK version Value added
1607 14393 RequestSetAsActiveBlockingAppAsync

Properties

IsCurrentAppActiveBlockingApp

Indicates whether the current application is the active blocking application.

Methods

RequestSetAsActiveBlockingAppAsync()

Calls a dialog to set the current app as the default phone communication blocking application.

ShowCommunicationBlockingSettingsUI()

Displays the UI to select the currently active blocking application.

Applies to

See also