Other Type Definitions
The following type definitions are available globally.
-
Callback which is getting called to report changes in download session. This callback can be invoked from any thread at the moment and the client is responsible for posting it back to a desired thread.
Declaration
Objective-C
typedef void (^MBXDownloadStatusCallback)(MBXDownloadStatus *_Nonnull)
-
Callback which is used to report result of HTTP request.
Declaration
Objective-C
typedef void (^MBXHttpResponseCallback)(MBXHttpResponse *_Nonnull)
-
Callback involved to return result of LiveTrackingClient
start
andstop
methods.Declaration
Objective-C
typedef void (^MBXLocationClientStartStopCallback)(MBXLocationError *_Nullable)
Parameters
error
An error describing a failure if it happens.
-
Callback invoked once a request operation completes.
In case of cancel request, this callback does not report if the actual cancelation worked or not.
Declaration
Objective-C
typedef void (^MBXResultCallback)(BOOL)
Parameters
result
\c true on successfull call; otherwise, it is invoked with \c false.
-
Callback Invoked to report the progess of the tile region loading operation.
Declaration
Objective-C
typedef void (^MBXTileRegionLoadProgressCallback)( MBXTileRegionLoadProgress *_Nonnull)
Parameters
progress
Loading progress
-
Callback which is used to report the result of the file upload. This callback can be invoked from any thread at the moment and the client is responsible for posting it back to a desired thread.
Declaration
Objective-C
typedef void (^MBXUploadStatusCallback)(MBXUploadStatus *_Nonnull)