Language

E2eeContactKeysManager.RemoveE2eeSelfKey(String, String) Method

Definition

Removes an end-to-end encryption self key entry given the deviceId and the inferred package name of the caller.

[Android.Runtime.Register("removeE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Z", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")]
public bool RemoveE2eeSelfKey(string deviceId, string accountId);
[<Android.Runtime.Register("removeE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Z", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")>]
member this.RemoveE2eeSelfKey : string * string -> bool

Parameters

deviceId
String

an app-specified identifier for the device. This value cannot be null.

accountId
String

an app-specified identifier for the account. This value cannot be null.

Returns

true if the entry was removed, false otherwise.

Attributes

Remarks

Removes an end-to-end encryption self key entry given the deviceId and the inferred package name of the caller. Requires Manifest.permission.WRITE_CONTACTS

Android reference for android.provider.E2eeContactKeysManager.removeE2eeSelfKey.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to