Tools/Misc

Enable kiosk (lock-task) mode

Changed on

Locks the device to the package named in the request body using Android lock-task (kiosk) mode, preventing the user from leaving the app.

put/devices/{deviceId}/kiosk

Request

  • Base URL
    https://api.mobilerun.ai
  • URL
    https://api.mobilerun.ai/devices/{deviceId}/kiosk
  • Auth
    HTTP bearer

Path parameters

deviceIdstring required

Headers

X-Device-Display-IDinteger

Request body

$schemastring uri

A URL to the JSON Schema for this object.

packageNamestring required

Package to lock the device to (Android lock-task mode).

Example request

{
  "$schema": "https://example.com/schemas/EnableKioskArgs.json"
}

Response

No Content

Changes