Language

E2eeContactKeysManager.GetOwnerE2eeContactKeys(String) Method

Definition

Retrieves all end-to-end encryption contact key entries for a given lookupKey that belong to the caller app.

[Android.Runtime.Register("getOwnerE2eeContactKeys", "(Ljava/lang/String;)Ljava/util/List;", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")]
public System.Collections.Generic.IList<Android.Provider.E2eeContactKeysManager.E2eeContactKey> GetOwnerE2eeContactKeys(string lookupKey);
[<Android.Runtime.Register("getOwnerE2eeContactKeys", "(Ljava/lang/String;)Ljava/util/List;", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")>]
member this.GetOwnerE2eeContactKeys : string -> System.Collections.Generic.IList<Android.Provider.E2eeContactKeysManager.E2eeContactKey>

Parameters

lookupKey
String

the value that references the contact. This value cannot be null.

Returns

a list of E2eeContactKey objects containing the end-to-end encryption contact key information, or an empty list if no keys are found. This value cannot be null.

Attributes

Remarks

Retrieves all end-to-end encryption contact key entries for a given lookupKey that belong to the caller app. Requires Manifest.permission.READ_CONTACTS

Android reference for android.provider.E2eeContactKeysManager.getOwnerE2eeContactKeys.

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