Documentation ¶
Index ¶
- func BatteryLevel(i map[string]any) map[string]any
- func BatteryStatus(i map[string]any) map[string]any
- func Bluetooth(i map[string]any) map[string]any
- func FileChanged(i map[string]any) map[string]any
- func FileCreated(i map[string]any) map[string]any
- func Network(i map[string]any) map[string]any
- func Time(i map[string]any) map[string]any
- func Wifi(i map[string]any) map[string]any
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatteryLevel ¶
Waits until battery is at certain level Arguments: - level: int - type: string ("lower"/"higher") Returns: - level: int - current battery level
func BatteryStatus ¶
Waits until battery is (dis)charging/full Arguments: - status: string ("Charging"/"Discharging"/"Full") Returns: - status: string - curent battery status ("Charging"/"Discharging"/"Full")
func Bluetooth ¶
Waits until bluetooth state changes Arguments: - status: string ("enabled"/"disabled") Returns: - status: string ("enabled"/"disabled")
func FileChanged ¶
Waits until a file is changed. Arguments: - file: string Returns: - file: string
func FileCreated ¶
Waits until a file is created in a certain folder. Arguments: - folder: string Returns: - folder: string
func Network ¶
Waits until certain network is connected/disconnected Arguments: - status: string ("enabled"/"disabled") - network: string Returns: - status: string ("enabled"/"disabled") - network: string
Types ¶
This section is empty.