/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.37/ |
H A D | changelogs-ability.md | 148 ## cl.ability.3 createBundleContext接口废弃 174 |createBundleContext(bundleName: string): Context|用这个接口创建的context无法正确获取资源,建议使用替代接口。|createBundleCon… 178 需要使用新的替代接口,替代接口为带context入参的createBundleContext。 191 bundleContext = this.context.createBundleContext('bundlename'); 193 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes… 209 common.createBundleContext(this.context,'bundlename').then((data: Context)=>{ 212 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes… 215 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes…
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-application-sys.md | 73 ## application.createBundleContext<sup>12+</sup> 75 createBundleContext(context: Context, bundleName: string): Promise\<Context> 119 application.createBundleContext(this.context, 'bundlename').then((data: Context)=>{ 121 console.info('createBundleContext success!'); 123 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes… 126 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes…
|
H A D | js-apis-inner-application-context-sys.md | 17 ## Context.createBundleContext<sup>(deprecated)</sup> 19 createBundleContext(bundleName: string): Context 27 > 从 API Version 12 开始废弃,建议使用[application.createBundleContext](./js-apis-app-ability-application-sys… 66 bundleContext = this.context.createBundleContext('com.example.test'); 68 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes…
|
H A D | js-apis-app-ability-application.md | 59 console.info('createBundleContext success!');
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.37/ |
H A D | changelogs-ability.md | 148 ## cl.ability.3 Deprecated the createBundleContext API 174 …createBundleContext(bundleName: string): Context|The context created using this API cannot obtain … 178 Use **createBundleContext** with the input parameter **context** in the code. 191 bundleContext = this.context.createBundleContext('bundlename'); 193 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes… 209 common.createBundleContext(this.context,'bundlename').then((data: Context)=>{ 212 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes… 215 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes…
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-application-sys.md | 74 ## application.createBundleContext<sup>12+</sup> 76 createBundleContext(context: Context, bundleName: string): Promise\<Context> 121 application.createBundleContext(this.context, 'bundlename').then((data: Context)=>{ 123 console.info('createBundleContext success!'); 125 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes… 128 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes…
|
H A D | js-apis-inner-application-context-sys.md | 17 ## Context.createBundleContext<sup>(deprecated)</sup> 19 createBundleContext(bundleName: string): Context 27 …precated since API version 12. You are advised to use [application.createBundleContext](./js-apis-… 66 bundleContext = this.context.createBundleContext('com.example.test'); 68 …console.error(`createBundleContext failed, error.code: ${(error as BusinessError).code}, error.mes…
|
H A D | js-apis-app-ability-application.md | 59 console.info('createBundleContext success!');
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/context/ |
H A D | context.js | 73 createBundleContext(bundleName) { method in Context 74 return this.__context_impl__.createBundleContext(bundleName);
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/app/application_context/ |
H A D | application_context.js | 112 createBundleContext(bundleName) { method in ApplicationContext 113 return this.__context_impl__.createBundleContext(bundleName);
|
/ohos5.0/docs/zh-cn/application-dev/application-models/ |
H A D | application-context-stage.md | 6 …apis-app-ability-contextConstant.md#areamode)(文件分区)等,以及应用的一些基本方法,例如createBundleContext()、[getAppli…
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.2.1/ |
H A D | changelogs-ability.md | 137 | Context.d.ts | createBundleContext(bundleName: string): Context |…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta1/ |
H A D | js-apidiff-ability.md | 50 | context | Context | createBundleContext(bundleName: string): Context; | 新增 |
|
/ohos5.0/docs/zh-cn/application-dev/quick-start/ |
H A D | resource-categories-and-access.md | 318 - 通过[createBundleContext(context, bundleName)](../reference/apis-ability-kit/js-apis-app-ability-ap…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/ |
H A D | js-apidiff-ability_api-9-canary.md | 46 | context | Context | createBundleContext(bundleName: string): Context; | 新增 |
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta1/ |
H A D | js-apidiff-ability.md | 50 | context | Context | createBundleContext(bundleName: string): Context; | Added|
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.2.1/ |
H A D | changelogs-ability.md | 137 | Context.d.ts | createBundleContext(bundleName: string): Context …
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202211/ |
H A D | js-apidiff-ability.md | 194 |model有变化|方法名 or 属性名:createBundleContext<br>model:@stagemodelonly|方法名 or 属性名:createBundleContext<br…
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | application-context-stage.md | 6 …mode) (encryption level). It also provides basic methods such as **createBundleContext()** and [ge…
|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/ |
H A D | js-apidiff-ability.md | 194 …nged|Method or attribute name: createBundleContext<br>Model: @stagemodelonly|Method or attribute n…
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202210/ |
H A D | js-apidiff-ability.md | 635 |model有变化|方法名 or 属性名:createBundleContext<br>model:@StageModelOnly|方法名 or 属性名:createBundleContext<br… 771 |新增(错误码)|NA|方法名 or 属性名:createBundleContext<br>错误码内容:401|Context.d.ts|
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | resource-categories-and-access.md | 331 - Create the context of the HAP/HSP file through [createBundleContext(context, bundleName)](../refe…
|
/ohos5.0/docs/en/release-notes/api-diff/monthly-202210/ |
H A D | js-apidiff-ability.md | 635 …nged|Method or attribute name: createBundleContext<br>Model: @StageModelOnly|Method or attribute n… 771 |Error code added|NA|Method or attribute name: createBundleContext<br>Error code: 401|Context.d.ts|
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta4/ |
H A D | js-apidiff-ability.md | 694 |新增(错误码)|NA|方法名 or 属性名:createBundleContext<br>错误码内容:401|Context.d.ts|
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-Release to v3.2-Release/ |
H A D | js-apidiff-ability.md | 386 …化|类名:Context;<br>方法or属性:createBundleContext(bundleName: string): Context;<br>旧版本信息:401|类名:Context;…
|