Class: EventDataProxy¶
Base class for all EventData proxies.
Provides the eventName property that identifies which event triggered the rule.
Hierarchy¶
-
EventDataProxy
- LinkDataReceivedEventProxy
- PushNotificationEventProxy
- ActivityBackPressedEventProxy
- CustomEventDataProxy
- OfflineProgressUpdateEventProxy
Implements¶
Summary¶
Constructors¶
Properties¶
Class Properties¶
Currently none in this class.
Inherited Properties¶
Currently none inherited from the parent class(es).
Accessors¶
Class Accessors¶
Inherited Accessors¶
Currently none inherited from the parent class(es).
Methods¶
Class Methods¶
Currently none in this class.
Inherited Methods¶
Currently none inherited from the parent class(es).
Constructors¶
Constructor¶
+ new EventDataProxy(eventName: string): EventDataProxy
Parameters:
| Name | Type |
|---|---|
| eventName | string |
Returns: EventDataProxy
Accessors¶
eventName¶
Get Signature¶
▸ getter
Example¶
const name = context.getEventData().eventName; // e.g. 'OnLaunch', 'OnResume'
Returns¶
string
The name of the event that triggered this data (e.g. 'OnLinkDataReceived', 'OnLaunch', etc.)
Implementation of IBaseEventData.eventName