1 | export declare function getApplicationContext(): globalAndroid.content.Context;
|
2 | export declare function getCurrentActivity(): androidx.appcompat.app.AppCompatActivity;
|
3 | export declare function getApplication(): globalAndroid.app.Application;
|
4 | export declare function getResources(): globalAndroid.content.res.Resources;
|
5 | export declare function getPackageName(): string;
|
6 | export declare function getInputMethodManager(): android.view.inputmethod.InputMethodManager;
|
7 | export declare function showSoftInput(nativeView: android.view.View): void;
|
8 | export declare function dismissSoftInput(nativeView?: android.view.View): void;
|
9 | export declare namespace collections {
|
10 | function stringArrayToStringSet(str: string[]): java.util.HashSet<string>;
|
11 | function stringSetToStringArray(stringSet: any): string[];
|
12 | }
|
13 | export declare namespace resources {
|
14 | function getDrawableId(name: any): number;
|
15 | function getStringId(name: any): number;
|
16 | function getId(name: string): number;
|
17 | function getResource(name: string, type?: string): number;
|
18 | function getPalleteColor(name: string, context: android.content.Context): number;
|
19 | function getPaletteColor(name: string, context: android.content.Context): number;
|
20 | }
|
21 | export declare function isRealDevice(): boolean;
|