AppwinAutomationEvent enum
Moments a studio can trigger a campaign from.
The native SDK reports the lifecycle ones on its own once
AppwinNotifications.start has run. You report the rest, the ones only
your app knows about.
Values
- appOpen → const AppwinAutomationEvent
-
App came to the foreground.
const AppwinAutomationEvent('app_open') - appBackground → const AppwinAutomationEvent
-
App went to the background.
const AppwinAutomationEvent('app_background') - purchase → const AppwinAutomationEvent
-
A purchase completed. Report it yourself, with the amount in the properties if the campaign segments on it.
const AppwinAutomationEvent('purchase') - customEvent → const AppwinAutomationEvent
-
Anything specific to your app, named through
eventName.const AppwinAutomationEvent('custom_event') - pushOptIn → const AppwinAutomationEvent
-
The user accepted push permission.
const AppwinAutomationEvent('push_opt_in') - sessionStart → const AppwinAutomationEvent
-
A new session began.
const AppwinAutomationEvent('session_start')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
The value the server expects, which is not the Dart name.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
AppwinAutomationEvent> - A constant List of the values in this enum, in order of their declaration.