-
Notifications
You must be signed in to change notification settings - Fork 91
Kiosk Mode
hermanShai edited this page Sep 23, 2019
·
19 revisions
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.
To configure the skill as a kiosk skill you must take the following steps:
- Open the
AndroidManifest.xml - In the application tag paste the following piece of code:
<meta-data android:name="com.robotemi.sdk.metadata.KIOSK" android:value="TRUE" /> - Compile and run the skill
- 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.
- Click on the kiosk mode option and open the Kiosk Mode page. Turn on the kiosk mode from the top right corner.
- 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.
There are a number of features that only kiosk skills can utilise.
- 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.
|
void |
In kiosk mode you have the option of toggling the wakeup trigger on and off to your liking