@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
47 lines (46 loc) • 2.39 kB
TypeScript
import { resources, collections, getWindow, getApplication, getCurrentActivity, getApplicationContext, getResources, getPackageName, getInputMethodManager, showSoftInput, dismissSoftInput, enableEdgeToEdge, setDarkModeHandler, setNavigationBarColor, setStatusBarColor, getIgnoreEdgeToEdgeOnOlderDevices, setIgnoreEdgeToEdgeOnOlderDevices } 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;
getIgnoreEdgeToEdgeOnOlderDevices: typeof getIgnoreEdgeToEdgeOnOlderDevices;
setIgnoreEdgeToEdgeOnOlderDevices: typeof setIgnoreEdgeToEdgeOnOlderDevices;
};
/**
* @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;
getIgnoreEdgeToEdgeOnOlderDevices: typeof getIgnoreEdgeToEdgeOnOlderDevices;
setIgnoreEdgeToEdgeOnOlderDevices: typeof setIgnoreEdgeToEdgeOnOlderDevices;
};
export declare const iOSNativeHelper: {};
export declare const ios: {};