E2eeContactKeysManager.GetE2eeContactKey(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves an end-to-end encryption contact key entry given the lookup key, device ID, accountId and inferred caller package name.
[Android.Runtime.Register("getE2eeContactKey", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/provider/E2eeContactKeysManager$E2eeContactKey;", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")]
public Android.Provider.E2eeContactKeysManager.E2eeContactKey? GetE2eeContactKey(string lookupKey, string deviceId, string accountId);
[<Android.Runtime.Register("getE2eeContactKey", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/provider/E2eeContactKeysManager$E2eeContactKey;", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.READ_CONTACTS")>]
member this.GetE2eeContactKey : string * string * string -> Android.Provider.E2eeContactKeysManager.E2eeContactKey
Parameters
- lookupKey
- String
the value that references the contact. This value cannot be null.
- 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 E2eeContactKey object containing the contact key information, or null if no contact key is found.
- Attributes
Remarks
Retrieves an end-to-end encryption contact key entry given the lookup key, device ID, accountId and inferred caller package name. Requires Manifest.permission.READ_CONTACTS
Android reference for android.provider.E2eeContactKeysManager.getE2eeContactKey.
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.