diff --git a/api/application/Context.d.ts b/api/application/Context.d.ts old mode 100644 new mode 100755 index db1912de8142d57364f82ba16183d882ec91ec3e..1e152565b5e77cf412cca1251bfe0be9f3a18cf0 --- a/api/application/Context.d.ts +++ b/api/application/Context.d.ts @@ -119,4 +119,21 @@ export default class Context { * @return application context */ getApplicationContext(): Context; + + /** + * Switch file area + * + * @devices phone, tablet, tv, wearable, car + * @since 9 + * @sysCap AAFwk + * @param mode file area. + */ + switchArea(mode: AreaMode): void; +} + +export enum AreaMode { + EL1 = 0, + EL2 = 1, + EL3 = 2, + EL4 = 3 } \ No newline at end of file