setKeys

abstract suspend fun setKeys(keyBundle: SetupDeviceKeyBundle): HubPayload<String>

Sets the given keyBundle for account with deviceId.

Returns a HubPayload which encapsulates the outcome. In case it is successful the value is "success" as String or the error if it is failure.

Note: this API overwrites the target's device signal keys in every call of.

Set-up-device phase

This API is considered the set-up-device phase which is always followed after the registration phase and is used once.