various application event implementation fixes

This commit is contained in:
Vladimir Enchev
2015-06-01 15:51:37 +03:00
parent c6549343bc
commit a8be503417
6 changed files with 70 additions and 26 deletions

View File

@ -15,6 +15,36 @@ declare module "application" {
nativeError: any;
}
/**
* String value used when hooking to launch event.
*/
export var launch: string;
/**
* String value used when hooking to uncaughtError event.
*/
export var uncaughtError: string;
/**
* String value used when hooking to suspend event.
*/
export var suspend: string;
/**
* String value used when hooking to resume event.
*/
export var resume: string;
/**
* String value used when hooking to exit event.
*/
export var exit: string;
/**
* String value used when hooking to lowMemory event.
*/
export var lowMemory: string;
/**
* Event data containing information for the application events.
*/
@ -22,12 +52,12 @@ declare module "application" {
/**
* Gets the native iOS event arguments. Valid only when running on iOS.
*/
ios: any;
ios?: any;
/**
* Gets the native Android event arguments. Valid only when running on Android.
*/
android: any;
android?: any;
}
/**