ZTSettings

Settings to be used with SDK

  • Retrieve the current iOS SDK version.

  • The current SDK logging level. This should consist of enum defined as constants with ZTLogLevel*. The default is a set to show info messages while in DEBUG mode. RELEASE mode won’t output anything.

  • Current settings for CloudAPI

  • Set if SDK should reconnect to device automatically

  • Set if SDK should log events

  • If SDK should check and obtain missed chunks during activity stop flow

  • Flag to automatically obtain raw data for last activity on reconnection

  • Flag to automatically start background DFU once per checkFirmwareUpdatePeriod

  • Flag to resend data after activity is stopped. Default is true which automatically obtains missing chunks and upload them into ZCloud. When false - activity data chunks and stop event are not sent automatically if any error occurs during chunks downloading or uploading to ZCloud.

  • Minimum number of activity chunks to sync with ZCloud

  • Minimum number of activity chunks to sync with ZCloud

  • Time period in seconds when firmware update should be checked. Default is 86400 seconds (24 hours) It is used for background DFU.

  • Ebables analytics data when application becomes active Default: false

  • Chunk duration for activity in seconds

  • Clear settings, keys and tokens