Skip to content

Class: AppEventDataProxy

Provides event data for app lifecycle events, including: OnLaunch, OnResume, OnSuspend, OnExit, and OnUnCaughtError.

Hierarchy

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

Methods

Class Methods

Currently none in this class.

Inherited Methods

Currently none inherited from the parent class(es).

Constructors

Constructor

+ new AppEventDataProxy(eventName: string, appEventData: any): AppEventDataProxy

Overrides EventDataProxy.constructor

Parameters:

Name Type
eventName string
appEventData any

Returns: AppEventDataProxy

Accessors

data

Get Signature

getter

The raw NativeScript ApplicationEventData object.

Example
const rawData = context.getEventData().data;
Returns

any

The raw NativeScript ApplicationEventData object.

Implementation of IAppEventData.data