From c62a652ac723069fb5639a180b044932b785e80d Mon Sep 17 00:00:00 2001 From: mingxihua Date: Thu, 20 Jan 2022 08:45:20 +0000 Subject: [PATCH] IssueNo:#I4PCM1:ce/de context Description: ce/de context Sig:SIG_ApplicationFramework Feature or Bugfix:Feature Binary Source:No Signed-off-by: mingxihua --- api/application/Context.d.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) mode change 100644 => 100755 api/application/Context.d.ts diff --git a/api/application/Context.d.ts b/api/application/Context.d.ts old mode 100644 new mode 100755 index db1912de81..518a780ff6 --- 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 8 + * @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 -- Gitee