Non-Blocking API

The Thing-IF SDK only provides non-blocking APIs.

Some methods of the Kii SDKs require network communication with Thing Interaction Framework and cause some delay. Such methods include those for registering a new user and sending a command to a thing. Generally, Kii provides these methods in two ways: as blocking APIs and as non-blocking APIs. For the difference between the two types of API designs, see Blocking vs. Non-Blocking API.

The following summarizes the APIs supported by each SDK.

  • The Thing-IF SDK provides only non-blocking APIs.

  • The Kii Cloud SDK provides both blocking and non-blocking APIs.

Mixing both types of APIs will make the entire processes complex, so we encourage you to use only non-blocking APIs. Call APIs from the main thread, and execute processes defined in callback methods after the API call is complete.