Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 24 of 24) sorted by relevance

/interface/sdk-js/api/
D@ohos.data.preferences.d.ts16 import Context from "./application/BaseContext";
40 …function getPreferences(context: Context, name: string, callback: AsyncCallback<Preferences>): voi…
54 function getPreferences(context: Context, name: string): Promise<Preferences>;
72 function deletePreferences(context: Context, name: string, callback: AsyncCallback<void>): void;
90 function deletePreferences(context: Context, name: string): Promise<void>;
106 …function removePreferencesFromCache(context: Context, name: string, callback: AsyncCallback<void>)…
122 function removePreferencesFromCache(context: Context, name: string): Promise<void>;
D@ohos.backgroundTaskManager.d.ts18 import Context from './application/BaseContext';
99 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca…
100 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P…
111 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void;
112 function stopBackgroundRunning(context: Context): Promise<void>;
D@ohos.resourceschedule.backgroundTaskManager.d.ts18 import Context from './application/BaseContext';
135 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca…
159 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P…
178 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void;
197 function stopBackgroundRunning(context: Context): Promise<void>;
D@ohos.abilityAccessCtrl.d.ts18 import Context from "./application/Context";
90 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>, requestCallback: …
91 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>) : Promise<Permiss…
D@ohos.data.dataShare.d.ts17 import Context from './application/Context';
42 …function createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<DataShareHel…
56 function createDataShareHelper(context: Context, uri: string): Promise<DataShareHelper>;
D@ohos.ability.featureAbility.d.ts22 import { Context as _Context } from './app/context';
69 function getContext(): Context;
228 export type Context = _Context alias
D@ohos.file.fileAccess.d.ts18 import Context from './application/Context';
110 function createFileAccessHelper(context: Context): FileAccessHelper;
153 function createFileAccessHelper(context: Context, wants: Array<Want>): FileAccessHelper;
D@ohos.data.rdb.d.ts18 import Context from "./application/BaseContext";
45 …function getRdbStore(context: Context, config: StoreConfig, version: number, callback: AsyncCallba…
62 function getRdbStore(context: Context, config: StoreConfig, version: number): Promise<RdbStore>;
75 function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void;
87 function deleteRdbStore(context: Context, name: string): Promise<void>;
D@ohos.data.distributedDataObject.d.ts17 import Context from './application/Context';
49 function create(context: Context, source: object): DataObject;
D@ohos.data.relationalStore.d.ts17 import Context from "./application/BaseContext";
44 …function getRdbStore(context: Context, config: StoreConfig, callback: AsyncCallback<RdbStore>): vo…
62 function getRdbStore(context: Context, config: StoreConfig): Promise<RdbStore>;
76 function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void;
90 function deleteRdbStore(context: Context, name: string): Promise<void>;
D@ohos.app.ability.common.d.ts75 export type Context = _Context.default alias
D@ohos.filemanagement.userFileManager.d.ts17 import Context from './application/Context';
37 function getUserFileMgr(context: Context): UserFileManager;
D@ohos.multimedia.mediaLibrary.d.ts17 import Context from './application/Context';
48 function getMediaLibrary(context: Context): MediaLibrary;
D@ohos.multimedia.avsession.d.ts42 …function createAVSession(context: Context, tag: string, type: AVSessionType, callback: AsyncCallba…
43 function createAVSession(context: Context, tag: string, type: AVSessionType): Promise<AVSession>;
D@ohos.multimedia.camera.d.ts17 import { Context } from './app/context';
36 function getCameraManager(context: Context): CameraManager;
D@ohos.data.distributedKVStore.d.ts19 import Context from './application/Context';
47 context: Context;
/interface/sdk-js/api/application/
DContext.d.ts30 export default class Context extends BaseContext { class
143 createBundleContext(bundleName: string): Context;
154 createModuleContext(moduleName: string): Context;
167 createModuleContext(bundleName: string, moduleName: string): Context;
DAbilityStageContext.d.ts18 import Context from "./Context";
28 export default class AbilityStageContext extends Context {
DExtensionContext.d.ts18 import Context from "./Context";
29 export default class ExtensionContext extends Context {
DApplicationContext.d.ts17 import Context from "./Context";
28 export default class ApplicationContext extends Context {
DAbilityDelegator.d.ts21 import Context from './Context';
196 getAppContext(): Context;
DUIAbilityContext.d.ts23 import Context from "./Context";
38 export default class UIAbilityContext extends Context {
/interface/sdk-js/api/app/
Dcontext.d.ts37 export interface Context extends BaseContext { interface
243 getApplicationContext(): Context;
/interface/sdk-js/api/@internal/component/ets/
Dcommon.d.ts227 declare function getContext(component?: Object): Context;
234 declare type Context = import('../api/application/Context').default;