PhoneCallBlocking PhoneCallBlocking PhoneCallBlocking PhoneCallBlocking PhoneCallBlocking Class

Definition

Controls the blocking of phone numbers as they are received.

public : static class PhoneCallBlocking
static struct winrt::Windows::ApplicationModel::Calls::PhoneCallBlocking
public static class PhoneCallBlocking
Public Shared Class PhoneCallBlocking
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v1)
Capabilities
phoneCallHistorySystem phoneCallHistory

Remarks

For more information about how communication blocking works, and how to implement it in your application, see Windows.ApplicationModel.CommunicationBlocking.

Properties

BlockPrivateNumbers BlockPrivateNumbers BlockPrivateNumbers BlockPrivateNumbers BlockPrivateNumbers

Gets or sets whether the PhoneCallBlocking instance should block private numbers.

BlockUnknownNumbers BlockUnknownNumbers BlockUnknownNumbers BlockUnknownNumbers BlockUnknownNumbers

Gets or sets whether the PhoneCallBlocking instance should block unknown numbers.

Methods

SetCallBlockingListAsync(IIterable<String>) SetCallBlockingListAsync(IIterable<String>) SetCallBlockingListAsync(IIterable<String>) SetCallBlockingListAsync(IIterable<String>) SetCallBlockingListAsync(IIterable<String>)

Sets the list of numbers that should be blocked.

See also