Home
last modified time | relevance | path

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

12

/interface/sdk-js/api/
D@ohos.data.preferences.d.ts17 import Context from './application/BaseContext';
140 …function getPreferences(context: Context, name: string, callback: AsyncCallback<Preferences>): voi…
159 …function getPreferences(context: Context, options: Options, callback: AsyncCallback<Preferences>):…
186 function getPreferences(context: Context, name: string): Promise<Preferences>;
204 function getPreferences(context: Context, options: Options): Promise<Preferences>;
223 function getPreferencesSync(context: Context, options: Options): Preferences;
258 function deletePreferences(context: Context, name: string, callback: AsyncCallback<void>): void;
280 …function deletePreferences(context: Context, options: Options, callback: AsyncCallback<void>): voi…
315 function deletePreferences(context: Context, name: string): Promise<void>;
337 function deletePreferences(context: Context, options: Options): Promise<void>;
[all …]
D@ohos.multimedia.systemSoundManager.d.ts17 import type Context from './application/Context'; alias
81 …setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType, callback: AsyncCallback<vo…
92 setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType): Promise<void>;
103 … getSystemRingtoneUri(context: Context, type: RingtoneType, callback: AsyncCallback<string>): void;
113 getSystemRingtoneUri(context: Context, type: RingtoneType): Promise<string>;
124 …getSystemRingtonePlayer(context: Context, type: RingtoneType, callback: AsyncCallback<RingtonePlay…
134 getSystemRingtonePlayer(context: Context, type: RingtoneType): Promise<RingtonePlayer>;
D@ohos.contact.d.ts17 import type Context from './application/BaseContext'; alias
57 function addContact(context: Context, contact: Contact, callback: AsyncCallback<number>): void;
86 function addContact(context: Context, contact: Contact): Promise<number>;
183 function deleteContact(context: Context, key: string, callback: AsyncCallback<void>): void;
210 function deleteContact(context: Context, key: string): Promise<void>;
237 function queryContact(context: Context, key: string, callback: AsyncCallback<Contact>): void;
268 …function queryContact(context: Context, key: string, holder: Holder, callback: AsyncCallback<Conta…
299 …function queryContact(context: Context, key: string, attrs: ContactAttributes, callback: AsyncCall…
332 …function queryContact(context: Context, key: string, holder: Holder, attrs: ContactAttributes, cal…
365 …function queryContact(context: Context, key: string, holder?: Holder, attrs?: ContactAttributes): …
[all …]
D@ohos.net.mdns.d.ts18 import Context from "./application/Context";
43 function addLocalService(context: Context, serviceInfo: LocalServiceInfo,
60 …function addLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServiceInf…
76 function removeLocalService(context: Context, serviceInfo: LocalServiceInfo,
93 …function removeLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalService…
104 function createDiscoveryService(context: Context, serviceType: string): DiscoveryService;
120 function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo,
137 …function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServic…
D@ohos.backgroundTaskManager.d.ts18 import Context from './application/BaseContext';
121 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca…
136 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P…
148 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void;
159 function stopBackgroundRunning(context: Context): Promise<void>;
D@ohos.ai.mindSporeLite.d.ts36 context?: Context): Promise<Model>;
60 context: Context, callback: Callback<Model>): void;
73 context?: Context): Promise<Model>;
97 context: Context, callback: Callback<Model>): void;
110 context?: Context): Promise<Model>;
134 context: Context, callback: Callback<Model>): void;
192 interface Context { interface
D@ohos.resourceschedule.backgroundTaskManager.d.ts18 import Context from './application/BaseContext';
141 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca…
165 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P…
184 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void;
203 function stopBackgroundRunning(context: Context): Promise<void>;
D@ohos.settings.d.ts17 import Context from './application/Context';
1003 function getValue(context: Context, name: string, callback: AsyncCallback<string>): void;
1017 function getValue(context: Context, name: string): Promise<string>;
1065 …function setValue(context: Context, name: string, value: string, callback: AsyncCallback<boolean>)…
1079 function setValue(context: Context, name: string, value: string): Promise<boolean>;
1158 function getValueSync(context: Context, name: string, defValue: string): string;
1188 function setValueSync(context: Context, name: string, value: string): boolean;
D@ohos.abilityAccessCtrl.d.ts156 context: Context,
186 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…
514 export type Context = _Context; alias
D@ohos.ability.featureAbility.d.ts22 import { Context as _Context } from './app/context';
87 function getContext(): Context;
436 export type Context = _Context; alias
D@ohos.data.rdb.d.ts18 import Context from './application/BaseContext';
44 …function getRdbStore(context: Context, config: StoreConfig, version: number, callback: AsyncCallba…
60 function getRdbStore(context: Context, config: StoreConfig, version: number): Promise<RdbStore>;
73 function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void;
85 function deleteRdbStore(context: Context, name: string): Promise<void>;
D@ohos.data.dataShare.d.ts17 import Context from './application/Context';
68 …function createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<DataShareHel…
84 context: Context,
118 context: Context,
D@ohos.data.distributedDataObject.d.ts17 import type Context from './application/BaseContext'; alias
49 function create(context: Context, source: object): DataObject;
/interface/sdk-js/api/application/
DContext.d.ts43 export default class Context extends BaseContext { class
240 createBundleContext(bundleName: string): Context;
263 createModuleContext(moduleName: string): Context;
277 createModuleContext(bundleName: string, moduleName: string): Context;
DAbilityStageContext.d.ts18 import Context from './Context';
37 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';
40 export default class ApplicationContext extends Context {
/interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/
Dentry.ts26 import { Context, IJSDocModifier, ISourceCodeProcessor, LogReporter, ProcessResult } from './typede…
43 const baseContext: Context = this.getBaseContext(inputParameter);
60 getBaseContext(inputParam: InputParameter): Context {
74 abstract process(context: Context, code: string): Promise<ProcessResult>;
76 buildProcessorContext(parentContext: Context, inputFile: string): Context {
88 async process(context: Context, content: string): Promise<ProcessResult> {
136 async process(context: Context, content: string): Promise<ProcessResult> {
DrawCodeProcessor.ts4 import type { Context, ISourceCodeProcessor, ProcessResult, sourceParser } from './typedef';
9 async process(context: Context, content: string): Promise<ProcessResult> {
/interface/sdk-js/build-tools/api_diff/test/ut/type_change_001/new/api/
Dtype_change_001.d.ts18 import { Context } from './application/Context';
107 context: Context,
124 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…
/interface/sdk-js/build-tools/api_diff/test/ut/type_change_001/old/api/
Dtype_change_001.d.ts18 import { Context } from './application/Context';
107 context: Context,
124 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…
/interface/sdk-js/build-tools/api_diff/test/ut/api_change_005/old/api/
Dapi_change_005.d.ts18 import { Context } from './application/Context';
156 context: Context,
186 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…
/interface/sdk-js/build-tools/api_diff/test/ut/punctuation_change_001/old/api/
Dpunctuation_change_001.d.ts18 import { Context } from './application/Context';
156 context: Context,
186 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…
/interface/sdk-js/build-tools/api_diff/test/ut/api_change_005/new/api/
Dapi_change_005.d.ts18 import { Context } from './application/Context';
156 context: Context,
186 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…
/interface/sdk-js/build-tools/api_diff/test/ut/punctuation_change_001/new/api/
Dpunctuation_change_001.d.ts18 import { Context } from './application/Context';
156 context: Context,
186 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…

12