| /interface/sdk-js/api/ |
| D | @ohos.data.preferences.d.ts | 22 import Context from './application/BaseContext'; 220 …function getPreferences(context: Context, name: string, callback: AsyncCallback<Preferences>): voi… 257 …function getPreferences(context: Context, options: Options, callback: AsyncCallback<Preferences>):… 298 function getPreferences(context: Context, name: string): Promise<Preferences>; 333 function getPreferences(context: Context, options: Options): Promise<Preferences>; 370 function getPreferencesSync(context: Context, options: Options): Preferences; 423 function deletePreferences(context: Context, name: string, callback: AsyncCallback<void>): void; 466 …function deletePreferences(context: Context, options: Options, callback: AsyncCallback<void>): voi… 519 function deletePreferences(context: Context, name: string): Promise<void>; 562 function deletePreferences(context: Context, options: Options): Promise<void>; [all …]
|
| D | @ohos.telephony.vcard.d.ts | 24 import type Context from './application/BaseContext'; alias 57 …function importVCard(context: Context, filePath: string, accountId: number, callback: AsyncCallbac… 82 function importVCard(context: Context, filePath: string, accountId?: number): Promise<void>; 103 function importVCard(context: Context, filePath: string, callback: AsyncCallback<void>): void; 123 function exportVCard(context: Context, predicates: dataSharePredicates.DataSharePredicates, 144 function exportVCard(context: Context, predicates: dataSharePredicates.DataSharePredicates, 164 function exportVCard(context: Context, predicates: dataSharePredicates.DataSharePredicates,
|
| D | @ohos.contact.d.ts | 22 import type Context from './application/BaseContext'; alias 71 function addContact(context: Context, contact: Contact, callback: AsyncCallback<number>): void; 100 function addContact(context: Context, contact: Contact): Promise<number>; 237 function deleteContact(context: Context, key: string, callback: AsyncCallback<void>): void; 264 function deleteContact(context: Context, key: string): Promise<void>; 291 function queryContact(context: Context, key: string, callback: AsyncCallback<Contact>): void; 322 …function queryContact(context: Context, key: string, holder: Holder, callback: AsyncCallback<Conta… 353 …function queryContact(context: Context, key: string, attrs: ContactAttributes, callback: AsyncCall… 386 …function queryContact(context: Context, key: string, holder: Holder, attrs: ContactAttributes, cal… 419 …function queryContact(context: Context, key: string, holder?: Holder, attrs?: ContactAttributes): … [all …]
|
| D | @ohos.settings.d.ts | 23 import Context from './application/Context'; 1054 function getValue(context: Context, name: string, callback: AsyncCallback<string>): void; 1067 function getValue(context: Context, name: string): Promise<string>; 1081 function getValue(context: Context, name: string, domainName: string): Promise<string>; 1129 …function setValue(context: Context, name: string, value: string, callback: AsyncCallback<boolean>)… 1143 function setValue(context: Context, name: string, value: string): Promise<boolean>; 1158 …function setValue(context: Context, name: string, value: string, domainName: string): Promise<bool… 1237 function getValueSync(context: Context, name: string, defValue: string): string; 1251 …function getValueSync(context: Context, name: string, defValue: string, domainName: string): strin… 1281 function setValueSync(context: Context, name: string, value: string): boolean; [all …]
|
| D | @ohos.net.mdns.d.ts | 23 import Context from "./application/Context"; 75 function addLocalService(context: Context, serviceInfo: LocalServiceInfo, 107 …function addLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServiceInf… 138 function removeLocalService(context: Context, serviceInfo: LocalServiceInfo, 170 …function removeLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalService… 191 function createDiscoveryService(context: Context, serviceType: string): DiscoveryService; 222 function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo, 254 …function resolveLocalService(context: Context, serviceInfo: LocalServiceInfo): Promise<LocalServic…
|
| D | @ohos.multimedia.systemSoundManager.d.ts | 22 import type Context from './application/Context'; alias 145 …setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType, callback: AsyncCallback<vo… 159 setSystemRingtoneUri(context: Context, uri: string, type: RingtoneType): Promise<void>; 187 … getSystemRingtoneUri(context: Context, type: RingtoneType, callback: AsyncCallback<string>): void; 200 getSystemRingtoneUri(context: Context, type: RingtoneType): Promise<string>; 227 …getSystemRingtonePlayer(context: Context, type: RingtoneType, callback: AsyncCallback<RingtonePlay… 240 getSystemRingtonePlayer(context: Context, type: RingtoneType): Promise<RingtonePlayer>;
|
| D | @ohos.backgroundTaskManager.d.ts | 23 import Context from './application/BaseContext'; 126 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca… 141 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P… 153 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void; 164 function stopBackgroundRunning(context: Context): Promise<void>;
|
| D | @ohos.ai.mindSporeLite.d.ts | 41 context?: Context): Promise<Model>; 65 context: Context, callback: Callback<Model>): void; 78 context?: Context): Promise<Model>; 102 context: Context, callback: Callback<Model>): void; 115 context?: Context): Promise<Model>; 139 context: Context, callback: Callback<Model>): void; 197 interface Context { interface
|
| D | @ohos.resourceschedule.backgroundTaskManager.d.ts | 23 import Context from './application/BaseContext'; 146 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent, ca… 170 …function startBackgroundRunning(context: Context, bgMode: BackgroundMode, wantAgent: WantAgent): P… 189 function stopBackgroundRunning(context: Context, callback: AsyncCallback<void>): void; 208 function stopBackgroundRunning(context: Context): Promise<void>;
|
| D | @ohos.multimedia.cameraPicker.d.ts | 21 import type Context from './application/Context'; alias 136 …function pick(context: Context, mediaTypes: Array<PickerMediaType>, pickerProfile: PickerProfile):…
|
| D | @ohos.data.dataShare.d.ts | 22 import Context from './application/Context'; 73 …function createDataShareHelper(context: Context, uri: string, callback: AsyncCallback<DataShareHel… 89 context: Context, 123 context: Context, 141 function enableSilentProxy(context: Context, uri?: string): Promise<void>; 156 function disableSilentProxy(context: Context, uri?: string): Promise<void>;
|
| D | @ohos.abilityAccessCtrl.d.ts | 212 context: Context, 256 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi… 643 export type Context = _Context; alias
|
| D | @ohos.ability.featureAbility.d.ts | 27 import { Context as _Context } from './app/context'; 92 function getContext(): Context; 441 export type Context = _Context; alias
|
| D | @ohos.data.rdb.d.ts | 23 import Context from './application/BaseContext'; 49 …function getRdbStore(context: Context, config: StoreConfig, version: number, callback: AsyncCallba… 65 function getRdbStore(context: Context, config: StoreConfig, version: number): Promise<RdbStore>; 78 function deleteRdbStore(context: Context, name: string, callback: AsyncCallback<void>): void; 90 function deleteRdbStore(context: Context, name: string): Promise<void>;
|
| /interface/sdk-js/api/application/ |
| D | Context.d.ts | 54 export default class Context extends BaseContext { class 370 createBundleContext(bundleName: string): Context; 405 createModuleContext(moduleName: string): Context; 419 createModuleContext(bundleName: string, moduleName: string): Context;
|
| D | AbilityStageContext.d.ts | 18 import Context from './Context'; 47 export default class AbilityStageContext extends Context {
|
| D | ExtensionContext.d.ts | 18 import Context from './Context'; 38 export default class ExtensionContext extends Context {
|
| D | ApplicationContext.d.ts | 17 import Context from './Context'; 51 export default class ApplicationContext extends Context {
|
| /interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/ |
| D | entry.ts | 26 import type { Context, IJSDocModifier, ISourceCodeProcessor, LogReporter, ProcessResult } from './t… 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> {
|
| /interface/sdk-js/build-tools/api_diff/test/ut/type_change_001/new/api/ |
| D | type_change_001.d.ts | 18 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/ |
| D | type_change_001.d.ts | 18 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/punctuation_change_001/new/api/ |
| D | punctuation_change_001.d.ts | 18 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/ |
| D | api_change_005.d.ts | 18 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/old/api/ |
| D | api_change_005.d.ts | 18 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/ |
| D | punctuation_change_001.d.ts | 18 import { Context } from './application/Context'; 156 context: Context, 186 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi…
|