DeviceEventModule class
- Inheritance
-
- Object
- VoltronNativeModule
- DeviceEventModule
Constructors
- DeviceEventModule(EngineContext context)
Properties
- context → EngineContext
-
finalinherited
-
extraFuncMap
→ Map<
String, Function> -
no setteroverride
-
funcMap
→ Map<
String, Function> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- moduleName → String
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
String name, JSPromise promise) → void -
inherited
-
destroy(
) → void -
override
-
handleAddListener(
String name) → void -
inherited
-
handleRemoveListener(
String name) → void -
inherited
-
initialize(
) → void -
inherited
-
invokeDefaultBackPressHandler(
JSPromise promise) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onBackPressed(
BackPressHandler handler) → bool -
removeListener(
String name, JSPromise promise) → void -
inherited
-
setListenBackPress(
bool listen, JSPromise promise) → bool -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- kDeviceInvokeDefaultBackPressHandler → const String
- kDeviceModuleName → const String
- kDeviceSetListenBackPress → const String