Control Sending Data

This document refers to deprecated parts of the platform and has been left intact to help customers with legacy integrations. In order to access the latest platform features and documentation, please go to

The Sentiance SDK optimizes under which circumstances data submission occurs, to optimize network and battery usage.

For certain users with specific usage patterns (e.g. someone who rarely connects to Wi-Fi), it could take a long time before detections are finally submitted.

If you want to override the default behavior, you can initiate a forced submission of detections. Ideally, you use this method only after explaining to the user that your app will consume more bandwidth in case the device is not connected to Wi-Fi.

[[SENTSDK sharedInstance] submitDetections:^{
    // If any data was pending, this now is submitted.
} failure:^{
    // Something went wrong with submitting data.

In order to know when it makes sense to do this, you can check the disk, mobile network and WiFi quotas of the SdkStatus and SENTSdkStatus objects.

Last updated