Skip to main content

Notification System

sendNotification

Send a notification to the tablet interface.
string
required
App name or title
string
required
Notification header
string
required
Notification message content
string
required
Path to app icon

Tablet State Functions

isTabletOpen

Check if the tablet is currently open.
boolean
Returns true if tablet is open, false if closed

isFlashlight

Check if flashlight is enabled.
boolean
Returns true if flashlight is enabled, false otherwise

Tablet Control Functions

toggleTablet

Toggle the tablet open/closed state.

closeTablet

Close the tablet.