NativeScript 9.1 Released → V8 14.9, Vite 8 HMR, built for rapid agentic visual iteration
Dig in

Defined in: application/application-interfaces.ts

Data for the Android activity result event.

Extends ​

Properties ​

activity ​

ts
activity: AppCompatActivity;

Defined in: application/application-interfaces.ts

The activity.

Inherited from ​

AndroidActivityEventData.activity


eventName ​

ts
eventName: string;

Defined in: application/application-interfaces.ts

The name of the event.

Inherited from ​

AndroidActivityEventData.eventName


intent ​

ts
intent: Intent;

Defined in: application/application-interfaces.ts

The intent.


object ​

ts
object: any;

Defined in: application/application-interfaces.ts

The instance that has raised the event.

Inherited from ​

AndroidActivityEventData.object


requestCode ​

ts
requestCode: number;

Defined in: application/application-interfaces.ts

The request code.


resultCode ​

ts
resultCode: number;

Defined in: application/application-interfaces.ts

The result code.


window? ​

ts
optional window?: NativeWindow;

Defined in: application/application-interfaces.ts

The NativeWindow the activity belongs to, when one is registered for it.

Inherited from ​

AndroidActivityEventData.window