Share via


FdnAccessManager.RequestUnlockAsync(String) Method

Definition

Static method that prompts the user for the PIN required to change a contact list of Fixed Dialing Numbers (FDNs). Typically your code calls this method when planning to make a change to the contact list. If the return value on successful completion is true, then you will be able to change the list of FDN contacts.

public:
 static IAsyncOperation<bool> ^ RequestUnlockAsync(Platform::String ^ contactListId);
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<bool> RequestUnlockAsync(winrt::hstring const& contactListId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<bool> RequestUnlockAsync(string contactListId);
function requestUnlockAsync(contactListId)
Public Shared Function RequestUnlockAsync (contactListId As String) As IAsyncOperation(Of Boolean)

Parameters

contactListId
String

Platform::String

winrt::hstring

A ContactList ID for the contact list you wish to change.

Returns

An asynchronous retrieval operation. On successful completion, contains a Boolean value representing whether the PIN was entered successfully.

Attributes

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to