9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Defined in: application/application-interfaces.ts

Data for the Android activity back pressed event.

Extends

Properties

activity

ts
activity: AppCompatActivity;

Defined in: application/application-interfaces.ts

The activity.

Inherited from

AndroidActivityEventData.activity


cancel

ts
cancel: boolean;

Defined in: application/application-interfaces.ts

In the event handler, set this value to true if you want to cancel the back navigation and do something else instead.


eventName

ts
eventName: string;

Defined in: application/application-interfaces.ts

The name of the event.

Inherited from

AndroidActivityEventData.eventName


object

ts
object: any;

Defined in: application/application-interfaces.ts

The instance that has raised the event.

Inherited from

AndroidActivityEventData.object

Previous
AlertOptions