Language

E2eeContactKeysManager.UpdateE2eeSelfKeyRemoteVerificationState Method

Definition

Updates an end-to-end encryption self key entry's remote verification state.

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

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.

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 self key entry's remote verification state. Requires Manifest.permission.WRITE_CONTACTS

Android reference for android.provider.E2eeContactKeysManager.updateE2eeSelfKeyRemoteVerificationState.

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