From 524d0ae8d005776b9d99386efd3b50d54afd4457 Mon Sep 17 00:00:00 2001 From: liyuhang Date: Fri, 19 May 2023 01:33:11 +0000 Subject: [PATCH] Change colon to equal sign, fix spelling errors Signed-off-by: liyuhang Change-Id: I7f3fdf61bd13f1ba02b073e007fec6fbedc22051 Signed-off-by: liyuhang --- en/application-dev/media/using-avsession-developer.md | 2 +- zh-cn/application-dev/media/using-avsession-developer.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/en/application-dev/media/using-avsession-developer.md b/en/application-dev/media/using-avsession-developer.md index 07bd4bf129..077f0b956a 100644 --- a/en/application-dev/media/using-avsession-developer.md +++ b/en/application-dev/media/using-avsession-developer.md @@ -88,7 +88,7 @@ To enable an audio and video application to access the AVSession service as a pr ```ts // It is assumed that an AVSession object has been created. For details about how to create an AVSession object, see the node snippet above. let session: AVSessionManager.AVSession = ALLREADY_CREATE_A_SESSION; - let wantAgentInfo: { + let wantAgentInfo = { wants: [ { bundleName: "com.example.musicdemo", diff --git a/zh-cn/application-dev/media/using-avsession-developer.md b/zh-cn/application-dev/media/using-avsession-developer.md index 865417c9a2..bc2f22de68 100644 --- a/zh-cn/application-dev/media/using-avsession-developer.md +++ b/zh-cn/application-dev/media/using-avsession-developer.md @@ -143,7 +143,7 @@ ```ts // 假设已经创建了一个session,如何创建session可以参考之前的案例 let session: AVSessionManager.AVSession = ALREADY_CREATE_A_SESSION; - let wantAgentInfo: { + let wantAgentInfo = { wants: [ { bundleName: 'com.example.musicdemo', -- GitLab