Action class

A Stream Deck plugin action, where you can register callback functions for different events

Constructors

Action.new(String _uuid)

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

emit(String event, dynamic data) → void
Emit custom events
logMessage(String message) → void
Write to a log file
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on(String event, dynamic callback(dynamic event)) → void
Listen for custom events
onDialDown(dynamic callback(DialDown event)) → void
Registers a callback function for the dialDown event, which fires when a SD+ dial was pressed
onDialRotate(dynamic callback(DialRotate event)) → void
Registers a callback function for the onDialRotate event, which fires when a SD+ dial was rotated
onDialUp(dynamic callback(DialUp event)) → void
Registers a callback function for the dialUp event, which fires when a pressed SD+ dial was released
onDidReceiveSettings(dynamic callback(DidReceiveSettings event)) → void
Registers a callback function for the didReceiveSettings event, which fires when calling getSettings
onKeyDown(dynamic callback(KeyDown event)) → void
Registers a callback function for the keyDown event, which fires when pressing a key down
onKeyUp(dynamic callback(KeyUp event)) → void
Registers a callback function for the keyUp event, which fires when releasing a key
onPropertyInspectorDidAppear(dynamic callback(PropertyInspectorDidAppear event)) → void
Registers a callback function for the propertyInspectorDidAppear event, which fires when the property inspector is displayed
onPropertyInspectorDidDisappear(dynamic callback(PropertyInspectorDidDisappear event)) → void
Registers a callback function for the propertyInspectorDidDisappear event, which fires when the property inspector is closed
onSendToPlugin(dynamic callback(SendToPlugin event)) → void
Registers a callback function for the sendToPlugin event, which fires when the property inspector uses the sendToPlugin api
onTitleParametersDidChange(dynamic callback(TitleParametersDidChange event)) → void
Registers a callback function for the titleParametersDidChange event, which fires when a user changes the key title
onTouchTap(dynamic callback(TouchTap event)) → void
Registers a callback function for the touchTap event, which fires when a SD+ touch panel was touched quickly
onWillAppear(dynamic callback(WillAppear event)) → void
Registers a callback function for the willAppear event, which fires when an action appears on the canvas
onWillDisappear(dynamic callback(WillDisappear event)) → void
Registers a callback function for the willDisappear event, which fires when an action disappears on the canvas
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited