mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-18 13:22:19 +08:00
refactor: circular deps part 8
This commit is contained in:
3
packages/core/utils/native-helper.d.ts
vendored
3
packages/core/utils/native-helper.d.ts
vendored
@ -14,6 +14,8 @@ export function dataDeserialize(nativeData?: any): any;
|
||||
*/
|
||||
export function isRealDevice(): boolean;
|
||||
|
||||
export function getWindow(): UIWindow | android.view.Window;
|
||||
|
||||
// /**
|
||||
// * Module with android specific utilities.
|
||||
// */
|
||||
@ -228,6 +230,7 @@ export const android: {
|
||||
getApplication: () => android.app.Application;
|
||||
getCurrentActivity: () => androidx.appcompat.app.AppCompatActivity | android.app.Activity | null;
|
||||
getApplicationContext: () => android.content.Context;
|
||||
getWindow: () => android.view.Window;
|
||||
getResources: () => android.content.res.Resources;
|
||||
getPackageName: () => string;
|
||||
getInputMethodManager: () => android.view.inputmethod.InputMethodManager;
|
||||
|
Reference in New Issue
Block a user