Language

E2eeContactKeysManager.UpdateE2eeContactKeyRemoteVerificationState Method

Definition

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

[Android.Runtime.Register("updateE2eeContactKeyRemoteVerificationState", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Z", "", ApiSince=35)]
[Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")]
public bool UpdateE2eeContactKeyRemoteVerificationState(string lookupKey, string deviceId, string accountId, Android.Provider.E2eeContactKeysManagerVerificationState remoteVerificationState);
[<Android.Runtime.Register("updateE2eeContactKeyRemoteVerificationState", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;I)Z", "", ApiSince=35)>]
[<Android.Runtime.RequiresPermission("android.permission.WRITE_CONTACTS")>]
member this.UpdateE2eeContactKeyRemoteVerificationState : 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.

remoteVerificationState
E2eeContactKeysManagerVerificationState

the new remote 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

Updates an end-to-end encryption contact key entry's remote verification state that belongs to the caller app. Requires Manifest.permission.WRITE_CONTACTS

Android reference for android.provider.E2eeContactKeysManager.updateE2eeContactKeyRemoteVerificationState.

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