E2eeContactKeysManager.GetE2eeSelfKey(String, String) Method

Definition

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

[Android.Runtime.Register("getE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Landroid/provider/E2eeContactKeysManager$E2eeSelfKey;", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")]
public Android.Provider.E2eeContactKeysManager.E2eeSelfKey? GetE2eeSelfKey(string deviceId, string accountId);
[<Android.Runtime.Register("getE2eeSelfKey", "(Ljava/lang/String;Ljava/lang/String;)Landroid/provider/E2eeContactKeysManager$E2eeSelfKey;", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")>]
member this.GetE2eeSelfKey : string * string -> Android.Provider.E2eeContactKeysManager.E2eeSelfKey

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

a E2eeSelfKey object containing the end-to-end encryption self key information, or null if no self key is found.

Attributes

Remarks

Android reference for android.provider.E2eeContactKeysManager.getE2eeSelfKey.

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