configureKioskiApp

fun configureKioskiApp(context: Context, appPackage: String, appActivity: String, isStatusBarEnabled: Boolean, isNavigationKeysEnabled: Boolean)

Configure the Kioski App that will be the launcher app to terminal

Since

0.0.2

Parameters

context

Activity or Application context should be used

appPackage

Kioski Application Package

appActivity

Kioski Application Launcher Activity Package, following the structure {Activity package name}.{Activity name}

isStatusBarEnabled

Configure is the status bar is enabled and can be expanded

isNavigationKeysEnabled

Configure is the Android Home button and Recent button is enabled and can be used to navigate

Throws

eg. configureKioskiApp(context, "com.paybyrd.payments.sdk", ""com.paybyrd.payments.demo.MainActivity")