TMDErrorType Constants Reference
| Declared in | TMDErrorType.h |
|---|
TMDErrorType
Enum of the possible errors
Definition
typedef NS_ENUM(NSInteger, TMDErrorType ) {
TMDCouldNotConnectToTheInternet,
TMDSdkKeyInvalid,
TMDSdkNotInitialized,
TMDSdkEndpointRequiresSigningIn,
TMDSdkEndpointInvalid,
TMDIdInvalid,
TMDUnknownError,
TMDNotInitialized,
TMDNetworkOperationOnMainThread,
TMDCloudFetchTooLong,
TMDJsonParsingError,
TMDNilValueError,
TMDJsonParsingErrorForPath,
TMDRequestErrorForPath,
TMDRequestErrorNotFound,
TMDCloudStatusCodeNotOk,
TMDCloudCouldNotReadStream,
TMDInvalidParameter,
TMDAlreadyStarted,
TMDAlreadyStopped,
TMDLocationServicePermissionInsufficient,
TMDLocationServicesDisabled,
TMDSignificantlocationChangeMonitoringUnavailable,
TMDAccelerometerUnavailable,
TMDFitnessTrackingDisabled,
TMDFitnessTrackingUnauthorized,
TMDFitnessTrackingNotDetermined,
TMDMotionActivityUnavailable,
};
Constants
TMDCouldNotConnectToTheInternet-
Triggered when the network operation was not successful
Declared In
TMDErrorType.h. TMDSdkKeyInvalid-
Triggered when the SDK key is invalid
Declared In
TMDErrorType.h. TMDSdkNotInitialized-
Triggered when the SDK was not initialized properly before using it
Declared In
TMDErrorType.h. TMDSdkEndpointRequiresSigningIn-
Triggered when calling TMD.init before signing in a user with TMDUserApi
Declared In
TMDErrorType.h. TMDSdkEndpointInvalid-
The SDK endpoint is invalid, in this condition the SDK cannot operate
Declared In
TMDErrorType.h. TMDIdInvalid-
The MOPRIM TMD ID is invalid. In this condition, the communications with the Cloud API cannot work
Declared In
TMDErrorType.h. TMDUnknownError-
Unknown Error found
Declared In
TMDErrorType.h. TMDNotInitialized-
Triggered if one starts the TMD service without a successful initialisation
Declared In
TMDErrorType.h. TMDNetworkOperationOnMainThread-
Triggered when one starts a long lasting operation on the main thread
Declared In
TMDErrorType.h. TMDCloudFetchTooLong-
Triggered when start/stop parameters include a two big gap. Current max 2 days
Declared In
TMDErrorType.h. TMDJsonParsingError-
Triggered when JSON object was not parsable
Declared In
TMDErrorType.h. TMDNilValueError-
Triggered when an unexpected nil value was found
Declared In
TMDErrorType.h. TMDJsonParsingErrorForPath-
Triggered when JSON object was not parsable at a specified path
Declared In
TMDErrorType.h. TMDRequestErrorForPath-
Triggered when Cloud returned an error for a specified request path
Declared In
TMDErrorType.h. TMDRequestErrorNotFound-
Triggered when Cloud returned a 404 not found error
Declared In
TMDErrorType.h. TMDCloudStatusCodeNotOk-
Triggered when the Cloud is not responsive or has internal error
Declared In
TMDErrorType.h. TMDCloudCouldNotReadStream-
Triggered when the I/O operation could not be achieved
Declared In
TMDErrorType.h. TMDInvalidParameter-
Triggered when a given parameter is invalid
Declared In
TMDErrorType.h. TMDAlreadyStarted-
Triggered if one start and the TMD is already started
Declared In
TMDErrorType.h. TMDAlreadyStopped-
Triggered if one start and the TMD is already stopped
Declared In
TMDErrorType.h. TMDLocationServicePermissionInsufficient-
Triggered when the user does not allow sufficient access to location service (i.e., AuthorizedAlways)
Declared In
TMDErrorType.h. TMDLocationServicesDisabled-
Triggered when location services are disabled on the device
Declared In
TMDErrorType.h. TMDSignificantlocationChangeMonitoringUnavailable-
Triggered when monitoring significant location change is not available on the device
Declared In
TMDErrorType.h. TMDAccelerometerUnavailable-
Triggered when the device doesn’t provide accelerometer data
Declared In
TMDErrorType.h. TMDFitnessTrackingDisabled-
Triggered when Fitness Tracking is disabled from the phone’s settings
Declared In
TMDErrorType.h. TMDFitnessTrackingUnauthorized-
Triggered when the user denied the app access to Fitness Tracking
Declared In
TMDErrorType.h. TMDFitnessTrackingNotDetermined-
Triggered when the app did not request Fitness tracking
Declared In
TMDErrorType.h. TMDMotionActivityUnavailable-
Triggered when the device doesn’t provide motion activity data
Declared In
TMDErrorType.h.
Declared In
TMDErrorType.h