configure Kioski App
fun configureKioskiApp(context: Context, appPackage: String, appActivity: String, isStatusBarEnabled: Boolean, isNavigationKeysEnabled: Boolean)
Content copied to clipboard
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
app Package
Kioski Application Package
app Activity
Kioski Application Launcher Activity Package, following the structure {Activity package name}.{Activity name}
is Status Bar Enabled
Configure is the status bar is enabled and can be expanded
is Navigation Keys Enabled
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")