Share via


CommunicationBlockingAccessManager Class

Definition

The manager responsible for keeping track of blocked numbers and displaying the appropriate blocking user interfaces.

public ref class CommunicationBlockingAccessManager 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 CommunicationBlockingAccessManager 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 CommunicationBlockingAccessManager
Public Class CommunicationBlockingAccessManager
Inheritance
Object Platform::Object IInspectable CommunicationBlockingAccessManager
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)

Properties

IsBlockingActive

Gets whether or not blocking is currently enabled.

Methods

IsBlockedNumberAsync(String)

An asynchronous operation that returns whether or not a number is on the block list.

ShowBlockedCallsUI()

Displays the list of blocked calls.

ShowBlockedMessagesUI()

Displays the list of blocked messages.

ShowBlockNumbersUI(IIterable<String>)

Launches a UI to block numbers if there as an active blocking app.

ShowUnblockNumbersUI(IIterable<String>)

Launches the app to unblock numbers if there as an active blocking app.

Applies to