openAppActivity

fun openAppActivity(context: Context, url: String, enableBackToFinish: Boolean = false, callback: AppCallbackImpl = defaultAppCallback)

Starts an AppActivity and loads the url of the app 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.

fun openAppActivity(context: Context, app: App, enableBackToFinish: Boolean = false, callback: AppCallbackImpl = defaultAppCallback)

Starts an AppActivity and loads the URL of the app 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.