Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
c6faf932
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
c6faf932
编写于
8月 04, 2023
作者:
葛
葛亚芳
提交者:
Gitee
8月 04, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
update zh-cn/application-dev/application-models/context-switch.md.
Signed-off-by:
N
葛亚芳
<
geyafang@huawei.com
>
上级
3558b016
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
zh-cn/application-dev/application-models/context-switch.md
zh-cn/application-dev/application-models/context-switch.md
+1
-1
未找到文件。
zh-cn/application-dev/application-models/context-switch.md
浏览文件 @
c6faf932
...
...
@@ -10,7 +10,7 @@
|
[
getBundleName(callback : AsyncCallback<string>): void;
](
../reference/apis/js-apis-inner-app-context.md#contextgetbundlename7
)
<br/>
[
getBundleName(): Promise<string>;
](
../reference/apis/js-apis-inner-app-context.md#contextgetbundlename7-1
)
| application
\U
IAbilityContext.d.ts |
[
abilityInfo.bundleName: string;
](
../reference/apis/js-apis-inner-application-uiAbilityContext.md#属性
)
|
|
[
getDisplayOrientation(callback : AsyncCallback<bundle.DisplayOrientation>): void;
](
../reference/apis/js-apis-inner-app-context.md#contextgetdisplayorientation7
)
<br/>
[
getDisplayOrientation(): Promise<bundle.DisplayOrientation>;
](
../reference/apis/js-apis-inner-app-context.md#contextgetdisplayorientation7-1
)
|
\@
ohos.screen.d.ts |
[
readonly orientation: Orientation;
](
../reference/apis/js-apis-screen.md#orientation
)
|
|
[
setDisplayOrientation(orientation:bundle.DisplayOrientation, callback:AsyncCallback<void>):void;
](
../reference/apis/js-apis-inner-app-context.md#contextsetdisplayorientation7
)
<br/>[setDisplayOrientation(orientation:bundle.DisplayOrientation):Promise<void>;](../reference/apis/js-apis-inner-app-context.md#contextsetdisplayorientation7-1) | \@ohos.screen.d.ts | [setOrientation(orientation: Orientation, callback: AsyncCallback<void>): void;](../reference/apis/js-apis-screen.md#setorientation)<br/>
[
setOrientation(orientation: Orientation): Promise<void>;
](
../reference/apis/js-apis-screen.md#setorientation-1
)
|
|
[
setShowOnLockScreen(show:boolean, callback:AsyncCallback<void>):void;
](
../reference/apis/js-apis-inner-app-context.md#contextsetshowonlockscreen
7
)
<br/>
[
setShowOnLockScreen(show:boolean):Promise<void>;
](
../reference/apis/js-apis-inner-app-context.md#contextsetshowonlockscreen7
-1
)
|
\@
ohos.window.d.ts |
[
setShowOnLockScreen(showOnLockScreen: boolean): void;
](
../reference/apis/js-apis-window.md#setshowonlockscreen9
)
|
|
[
setShowOnLockScreen(show:boolean, callback:AsyncCallback<void>):void;
](
../reference/apis/js-apis-inner-app-context.md#contextsetshowonlockscreen
deprecated
)
<br/>
[
setShowOnLockScreen(show:boolean):Promise<void>;
](
../reference/apis/js-apis-inner-app-context.md#contextsetshowonlockscreendeprecated
-1
)
|
\@
ohos.window.d.ts |
[
setShowOnLockScreen(showOnLockScreen: boolean): void;
](
../reference/apis/js-apis-window.md#setshowonlockscreen9
)
|
|
[
setWakeUpScreen(wakeUp:boolean, callback:AsyncCallback<void>):void;
](
../reference/apis/js-apis-inner-app-context.md#contextsetwakeupscreen7
)
<br/>
[
setWakeUpScreen(wakeUp:boolean):Promise<void>;
](
../reference/apis/js-apis-inner-app-context.md#contextsetwakeupscreen7-1
)
|
\@
ohos.window.d.ts |
[
setWakeUpScreen(wakeUp: boolean): void;
](
../reference/apis/js-apis-window.md#setwakeupscreen9
)
|
|
[
getProcessInfo(callback:AsyncCallback<ProcessInfo>):void;
](
../reference/apis/js-apis-inner-app-context.md#contextgetprocessinfo7
)
<br/>[getProcessInfo():Promise<ProcessInfo>;](../reference/apis/js-apis-inner-app-context.md#contextgetprocessinfo7-1) | \@ohos.app.ability.abilityManager.d.ts | [getAbilityRunningInfos(callback: AsyncCallback<Array<AbilityRunningInfo>>): void;](../reference/apis/js-apis-app-ability-abilityManager.md#getabilityrunninginfos)<br/>
[
getAbilityRunningInfos(): Promise<Array<AbilityRunningInfo>>;
](
../reference/apis/js-apis-app-ability-abilityManager.md#getabilityrunninginfos-1
)
|
|
[
getElementName(callback:AsyncCallback<ElementName>):void;
](
../reference/apis/js-apis-inner-app-context.md#contextgetelementname7
)
<br/>
[
getElementName():Promise<ElementName>;
](
../reference/apis/js-apis-inner-app-context.md#contextgetelementname7-1
)
| application
\U
IAbilityContext.d.ts |
[
abilityInfo.name: string;
](
../reference/apis/js-apis-inner-application-uiAbilityContext.md#属性
)
<br/>
[
abilityInfo.bundleName: string;
](
../reference/apis/js-apis-inner-application-uiAbilityContext.md#属性
)
|
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录