Class
AndroidApplication
AndroidApplication
Summary
Constructors
Properties
- activityBackPressedEvent
- activityCreatedEvent
- activityDestroyedEvent
- activityNewIntentEvent
- activityPausedEvent
- activityRequestPermissionsEvent
- activityResultEvent
- activityResumedEvent
- activityStartedEvent
- activityStoppedEvent
- backgrounded
- context
- foregroundActivity
- init
- nativeApp
- orientation
- packageName
- paused
- saveActivityStateEvent
- startActivity
- systemAppearance
Methods
Constructors
constructor
new AndroidApplication(): AndroidApplication
Properties
backgrounded
context
foregroundActivity
init
nativeApp
orientation
packageName
paused
startActivity
systemAppearance
activityBackPressedEvent
Static
activityCreatedEvent
Static
activityDestroyedEvent
Static
activityNewIntentEvent
Static
activityPausedEvent
Static
activityRequestPermissionsEvent
Static
activityResultEvent
Static
activityResumedEvent
Static
activityStartedEvent
Static
activityStoppedEvent
Static
saveActivityStateEvent
Static
Methods
getRegisteredBroadcastReceiver
| Parameter | Default | Description |
intentFilter | | string |
Returns any
on
on(eventNames: string, callback: (data: AndroidActivityEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
eventNames | | string |
callback | | (data: AndroidActivityEventData) => void |
thisArg | | any |
Returns any
on(event: "activityCreated", callback: (args: AndroidActivityBundleEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityCreated" |
callback | | (args: AndroidActivityBundleEventData) => void |
thisArg | | any |
Returns any
on(event: "activityDestroyed", callback: (args: AndroidActivityEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityDestroyed" |
callback | | (args: AndroidActivityEventData) => void |
thisArg | | any |
Returns any
on(event: "activityStarted", callback: (args: AndroidActivityEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityStarted" |
callback | | (args: AndroidActivityEventData) => void |
thisArg | | any |
Returns any
on(event: "activityPaused", callback: (args: AndroidActivityEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityPaused" |
callback | | (args: AndroidActivityEventData) => void |
thisArg | | any |
Returns any
on(event: "activityResumed", callback: (args: AndroidActivityEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityResumed" |
callback | | (args: AndroidActivityEventData) => void |
thisArg | | any |
Returns any
on(event: "activityStopped", callback: (args: AndroidActivityEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityStopped" |
callback | | (args: AndroidActivityEventData) => void |
thisArg | | any |
Returns any
on(event: "saveActivityState", callback: (args: AndroidActivityBundleEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "saveActivityState" |
callback | | (args: AndroidActivityBundleEventData) => void |
thisArg | | any |
Returns any
on(event: "activityResult", callback: (args: AndroidActivityResultEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityResult" |
callback | | (args: AndroidActivityResultEventData) => void |
thisArg | | any |
Returns any
on(event: "activityBackPressed", callback: (args: AndroidActivityBackPressedEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityBackPressed" |
callback | | (args: AndroidActivityBackPressedEventData) => void |
thisArg | | any |
Returns any
on(event: "activityNewIntent", callback: (args: AndroidActivityNewIntentEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityNewIntent" |
callback | | (args: AndroidActivityNewIntentEventData) => void |
thisArg | | any |
Returns any
on(event: "activityRequestPermissions", callback: (args: AndroidActivityRequestPermissionsEventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "activityRequestPermissions" |
callback | | (args: AndroidActivityRequestPermissionsEventData) => void |
thisArg | | any |
Returns any
registerBroadcastReceiver
unregisterBroadcastReceiver
| Parameter | Default | Description |
intentFilter | | string |
Returns void
- Previous
- ActivityIndicator
- Next
- Animation