@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
43 lines (42 loc) • 2 kB
TypeScript
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor } from './native-helper-for-android';
export { dataSerialize, dataDeserialize } from './native-helper-for-android';
export { getWindow } from './native-helper-for-android';
export declare const android: {
resources: typeof resources;
collections: typeof collections;
getApplication: typeof getApplication;
getCurrentActivity: typeof getCurrentActivity;
getApplicationContext: typeof getApplicationContext;
getWindow: typeof getWindow;
getResources: typeof getResources;
getPackageName: typeof getPackageName;
getInputMethodManager: typeof getInputMethodManager;
showSoftInput: typeof showSoftInput;
dismissSoftInput: typeof dismissSoftInput;
enableEdgeToEdge: typeof enableEdgeToEdge;
setStatusBarColor: typeof setStatusBarColor;
setNavigationBarColor: typeof setNavigationBarColor;
setDarkModeHandler: typeof setDarkModeHandler;
};
/**
* @deprecated Use `Utils.android` instead.
*/
export declare const ad: {
resources: typeof resources;
collections: typeof collections;
getApplication: typeof getApplication;
getCurrentActivity: typeof getCurrentActivity;
getApplicationContext: typeof getApplicationContext;
getWindow: typeof getWindow;
getResources: typeof getResources;
getPackageName: typeof getPackageName;
getInputMethodManager: typeof getInputMethodManager;
showSoftInput: typeof showSoftInput;
dismissSoftInput: typeof dismissSoftInput;
enableEdgeToEdge: typeof enableEdgeToEdge;
setStatusBarColor: typeof setStatusBarColor;
setNavigationBarColor: typeof setNavigationBarColor;
setDarkModeHandler: typeof setDarkModeHandler;
};
export declare const iOSNativeHelper: {};
export declare const ios: {};