nabto_device_are_server_connect_tokens_synchronized()

DESCRIPTION

Get synchronization state of the tokens.

The future return ok if synchronization went ok or we are not attached such that synchronization is not neccessary.

DECLARATION

NABTO_DEVICE_DECL_PREFIX NabtoDeviceError NABTO_DEVICE_API
nabto_device_are_server_connect_tokens_synchronized(NabtoDevice* device)

PARAMETERS

device:
[in] The device instance

RETURNS

  • NABTO_DEVICE_EC_OK: if they are synced
  • NABTO_DEVICE_EC_OPERATION_IN_PROGRESS: if they are being synced