TriggerFactory class abstract
Creates a TriggerExecutor for a TriggerConfiguration by runtime type.
Sampling packages that define their own triggers implement one and register it with ExecutorFactory.registerTriggerFactory. See SmartphoneTriggerFactory for the built-in triggers.
- Implementers
Constructors
Properties
Methods
-
create(
TriggerConfiguration trigger) → TriggerExecutor< TriggerConfiguration> ? -
Create a TriggerExecutor based on
trigger. Returns null iftriggeris not supported by this factory. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRegister(
) → void - Called when this factory is registered in the ExecutorFactory.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited