| /interface/sdk-js/api/ |
| D | @ohos.data.preferences.d.ts | 17 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.ts | 17 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.ts | 17 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.ts | 18 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.ts | 18 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.ts | 36 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.ts | 18 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.ts | 17 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.ts | 156 context: Context, 186 …requestPermissionsFromUser(context: Context, permissionList: Array<Permissions>): Promise<Permissi… 514 export type Context = _Context; alias
|
| D | @ohos.ability.featureAbility.d.ts | 22 import { Context as _Context } from './app/context'; 87 function getContext(): Context; 436 export type Context = _Context; alias
|
| D | @ohos.data.rdb.d.ts | 18 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.ts | 17 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.ts | 17 import type Context from './application/BaseContext'; alias 49 function create(context: Context, source: object): DataObject;
|
| /interface/sdk-js/api/application/ |
| D | Context.d.ts | 43 export default class Context extends BaseContext { class 240 createBundleContext(bundleName: string): Context; 263 createModuleContext(moduleName: string): Context; 277 createModuleContext(bundleName: string, moduleName: string): Context;
|
| D | AbilityStageContext.d.ts | 18 import Context from './Context'; 37 export default class AbilityStageContext extends Context {
|
| D | ExtensionContext.d.ts | 18 import Context from './Context'; 29 export default class ExtensionContext extends Context {
|
| D | ApplicationContext.d.ts | 17 import Context from './Context'; 40 export default class ApplicationContext extends Context {
|
| /interface/sdk-js/build-tools/jsdoc_format_plugin/src/core/ |
| D | entry.ts | 26 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> {
|
| D | rawCodeProcessor.ts | 4 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/ |
| 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/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…
|
| /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/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…
|