Перейти к содержанию

Spatium SDK > removeDistributedEcdsaKey

removeDistributedEcdsaKey

suspend fun removeDistributedEcdsaKey(driver: ProtocolKotlin, secretId: String, syncSessionId: String)

Remove an already performed synchronisation session from storage

Parameters

androidJvm

driver ProtocolKotlin implementation
secretId ID (UUID) of a secret used for synchronisation
syncSessionId ID (UUID) of a synchronisation procedure
  • SeeAlso: ProtocolKotlin/removeDistributedEcdsaKey(secretId:syncSessionId:)

Example

```kotlin // Assume an already performed synchronisation procedure

removeDistributedEcdsaKey(secretId: secreId, syncSessionId: syncSessionId)