com.steerpath.sdk.common.SdkStartCallback |
The callback interface for receiving information of SteerpathClient loading process.
With low end devices and very large OfflineBundles, SteerpathClient.start() may take very long time, up to 2 minutes. OfflineBundle is installed only once when SDK is started for the very first time. Subsequent startups are much faster.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onError(SdkLoadException e)
Called in response to
start(Context, SdkConfig, SdkStartCallback) } if something went wrong. | ||||||||||
abstract void |
onRejected()
Called in response to
start(Context, SdkConfig, SdkStartCallback) } if
SteerpathClient has already been started or is still starting. | ||||||||||
abstract void |
onStarted()
Called when
start(Context, SdkConfig, SdkStartCallback) } has finished
and SDK is fully started. | ||||||||||
abstract void |
onStarting()
Called when
start(Context, SdkConfig, SdkStartCallback) } starts loading the SDK. |
Called in response to start(Context, SdkConfig, SdkStartCallback)
} if something went wrong.
Called in response to start(Context, SdkConfig, SdkStartCallback)
} if
SteerpathClient has already been started or is still starting. If you need to restart Steerpath client,
perhaps wit different SdkConfig, call stop()
first.
Called when start(Context, SdkConfig, SdkStartCallback)
} has finished
and SDK is fully started. It is recommended to wait for this callback to be invoked
before allowing user to enter map view.
Called when start(Context, SdkConfig, SdkStartCallback)
} starts loading the SDK.