mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
getApplication() and getApplicationContext() added/used to/from Android utils.
This commit is contained in:
10
utils/utils.d.ts
vendored
10
utils/utils.d.ts
vendored
@ -44,6 +44,16 @@
|
||||
* Module with android specific utilities.
|
||||
*/
|
||||
module ad {
|
||||
/**
|
||||
* Gets the native Android application instance.
|
||||
*/
|
||||
export function getApplication(): android.app.Application;
|
||||
|
||||
/**
|
||||
* Gets the Android application context.
|
||||
*/
|
||||
export function getApplicationContext(): android.content.Context;
|
||||
|
||||
/**
|
||||
* Utility module dealing with some android collections.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user