getApplication() and getApplicationContext() added/used to/from Android utils.

This commit is contained in:
Vladimir Enchev
2015-07-27 09:57:32 +03:00
parent ddb5fb7c61
commit 3a4262b996
9 changed files with 50 additions and 44 deletions

10
utils/utils.d.ts vendored
View File

@ -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.
*/