UNPKG

@nativescript-community/preferences

Version:

Common API to allow users to use native (familiar) app settings screens instead of having to craft custom UIs

9 lines (8 loc) 317 B
import Observable from '@nativescript-community/observable'; export declare abstract class Common extends Observable { abstract setValue(key: string, value: any): any; abstract getValue(key: string, defaultValue?: any): any; abstract openSettings(): any; abstract clear(): any; destroy(): void; }