UNPKG

@nativescript/core

Version:

A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.

352 lines (351 loc) • 13.3 kB
/** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.addCss() * ``` */ export declare const addCss: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.getCssFileName() * ``` */ export declare const getCssFileName: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.getMainEntry() * ``` */ export declare const getMainEntry: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.getNativeApplication() * ``` */ export declare const getNativeApplication: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.getResources() * ``` */ export declare const getResources: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.getRootView() * ``` */ export declare const getRootView: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.hasLaunched() * ``` */ export declare const hasLaunched: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.hasListeners() * ``` */ export declare const hasListeners: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.loadAppCss() * ``` */ export declare const loadAppCss: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.notify() * ``` */ export declare const notify: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.off() * ``` */ export declare const off: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.on() * ``` */ export declare const on: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.orientation() * ``` */ export declare const orientation: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.resetRootView() * ``` */ export declare const resetRootView: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.resetRootView() * ``` */ export declare const _resetRootView: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.run() * ``` */ export declare const run: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.setAutoSystemAppearanceChanged() * ``` */ export declare const setAutoSystemAppearanceChanged: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.setCssFileName() * ``` */ export declare const setCssFileName: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.setMaxRefreshRate() * ``` */ export declare const setMaxRefreshRate: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.setResources() * ``` */ export declare const setResources: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.systemAppearance() * ``` */ export declare const systemAppearance: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.systemAppearanceChanged() * ``` */ export declare const systemAppearanceChanged: any; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.discardedErrorEvent * ``` */ export declare const discardedErrorEvent = "discardedError"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.uncaughtErrorEvent * ``` */ export declare const uncaughtErrorEvent = "uncaughtError"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.displayedEvent * ``` */ export declare const displayedEvent = "displayed"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.exitEvent * ``` */ export declare const exitEvent = "exit"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.fontScaleChangedEvent * ``` */ export declare const fontScaleChangedEvent = "fontScaleChanged"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.launchEvent * ``` */ export declare const launchEvent = "launch"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.lowMemoryEvent * ``` */ export declare const lowMemoryEvent = "lowMemory"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.resumeEvent * ``` */ export declare const resumeEvent = "resume"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.orientationChangedEvent * ``` */ export declare const orientationChangedEvent = "orientationChanged"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.suspendEvent * ``` */ export declare const suspendEvent = "suspend"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.systemAppearanceChangedEvent * ``` */ export declare const systemAppearanceChangedEvent = "systemAppearanceChanged"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.backgroundEvent * ``` */ export declare const backgroundEvent = "background"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.foregroundEvent * ``` */ export declare const foregroundEvent = "foreground"; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.inBackground * ``` */ export declare const inBackground: boolean; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.suspended * ``` */ export declare const suspended: boolean; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.android * ``` */ export declare const android: import("./application").AndroidApplication; /** * @deprecated Deep imports into the Application module are deprecated and will be removed in a future release. * Use the `Application` class imported from "@nativescript/core" instead: * ```ts * import { Application } from "@nativescript/core"; * Application.ios * ``` */ export declare const ios: import("./application").iOSApplication;