diff --git a/api/application/Context.d.ts b/api/application/Context.d.ts old mode 100644 new mode 100755 index 3006ab4faf698b032f973b044ce7285784ba57f4..e8678b43276c66040a4184285842bc073b0f1024 --- a/api/application/Context.d.ts +++ b/api/application/Context.d.ts @@ -139,4 +139,21 @@ export default class Context extends BaseContext { * @StageModelOnly */ getApplicationContext(): Context; + + /** + * Switch file area + * + * @since 9 + * @sysCap SystemCapability.Ability.AbilityRuntime.Core + * @param mode file area. + * @StageModelOnly + */ + switchArea(mode: AreaMode): void; +} + +export enum AreaMode { + EL1 = 0, + EL2 = 1, + EL3 = 2, + EL4 = 3 } \ No newline at end of file