Skip to content

Kiosk Mode

hermanShai edited this page Sep 23, 2019 · 19 revisions

Kiosk Mode

Overview

Kiosk mode is a configuration for your temi skill that allows you to take control of the screen saver window and instead of the default screen saver being displayed the temi skill will be displayed. This in a sense configures the skill to be home or launcher skill, which will also be displayed on launch.

Integration

To configure the skill as a kiosk skill you must take the following steps:

  1. Open the AndroidManifest.xml
  2. In the application tag paste the following piece of code: <meta-data android:name="com.robotemi.sdk.metadata.KIOSK" android:value="TRUE" />
  3. Compile and run the skill
  4. Even though the skill is visible now it is still not set as your temi's kiosk skill, to do so navigate to the settings menu. Now that you have a kiosk skill running you should see a new option in the settings called Kiosk Mode. Until the skill is set by launcher to be the default skill its' status will be OFF.
  5. Click on the kiosk mode option and open the Kiosk Mode page. Turn on the kiosk mode from the top right corner.
  6. Select your skill from the list of skills available for kiosk mode configuration. In the case where there is only one of those, it will automatically be selected for you when the mode is turned on.

Kiosk Mode Features

There are a number of features that only kiosk skills can utilise.

◆ Toggle Wakeup

com.robotemi.sdk.Robot.toggleWakeup ( boolean  disable
)
void

In kiosk mode you have the option of toggling the wakeup trigger on and off to your liking

Parameters
disable Set true if you want to disable the default wakeup, or false if you want to enable it again.
Returns
void object.
Exceptions
Exception Wakeup can only be toggled in Kiosk Mode.
Note
  • Ensure that you set kiosk mode in the skill's manifest.
  • Ensure you have turned on kiosk mode in the launcher via the settings, and selected your skill as the kiosk skill.
Clone this wiki locally