openDashboard

fun openDashboard(context: Context, enableBackToFinish: Boolean = true, callback: AppCallbackImpl = defaultAppCallback)

Starts an AppActivity and loads the Connected Fueling dashboard in the cloud.pace.sdk.appkit.app.webview.AppWebView.

Parameters

context

Context which should be used to start the AppActivity.

enableBackToFinish

True if the AppActivity should be finished or false if the cloud.pace.sdk.appkit.app.webview.AppWebView should navigate back on back press.

callback

Via this callback the client app can subscribe to certain app events.