Skip to main content
Version: v3

IMG_STATUS

ValueDescription
hmUI.system_status.CLOCKAlarm clock on
DISCONNECTBluetooth Disconnect
hmUI.system_status.DISTURBDo not disturb
hmUI.system_status.LOCKLock screen on

Code example

const status = hmUI.createWidget(hmUI.widget.IMG_STATUS, {
x: 0,
y: 0,
// w,h are optional settings. Use image width and height by default.
type: hmUI.system_status.DISCONNECT, // Data types, refer to the table above.
src: 'status.png'
})