Language

E2eeContactKeysManager.UpdateE2eeContactKeyLocalVerificationState Method

Definition

Updates an end-to-end encryption contact key entry's local verification state that belongs to the caller app.

[Android.Runtime.Register("updateE2eeContactKeyLocalVerificationState", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Z", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")]
public bool UpdateE2eeContactKeyLocalVerificationState(string lookupKey, string deviceId, string accountId, Android.Provider.E2eeContactKeysManagerVerificationState localVerificationState);
[<Android.Runtime.Register("updateE2eeContactKeyLocalVerificationState", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Z", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")>]
member this.UpdateE2eeContactKeyLocalVerificationState : string * string * string * Android.Provider.E2eeContactKeysManagerVerificationState -> bool

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.

localVerificationState
E2eeContactKeysManagerVerificationState

the new local verification state. Value is one of the following: VERIFICATION_STATE_UNVERIFIED VERIFICATION_STATE_VERIFICATION_FAILED VERIFICATION_STATE_VERIFIED

Returns

true if the entry was updated, false otherwise.

Attributes

Remarks

Android reference for android.provider.E2eeContactKeysManager.updateE2eeContactKeyLocalVerificationState.

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