From efecc08756c51bd1e7df29d0e68e431b20f1a94e Mon Sep 17 00:00:00 2001 From: shawn_he Date: Wed, 8 Jun 2022 11:31:12 +0800 Subject: [PATCH] update doc Signed-off-by: shawn_he --- en/application-dev/reference/apis/js-apis-contact.md | 4 ---- en/application-dev/reference/apis/js-apis-webSocket.md | 1 - 2 files changed, 5 deletions(-) diff --git a/en/application-dev/reference/apis/js-apis-contact.md b/en/application-dev/reference/apis/js-apis-contact.md index 610f802066..e9ac02205e 100644 --- a/en/application-dev/reference/apis/js-apis-contact.md +++ b/en/application-dev/reference/apis/js-apis-contact.md @@ -465,8 +465,6 @@ selectContact(callback: AsyncCallback<Array<Contact>>): void Selects a contact. This API uses an asynchronous callback to return the result. -This API is defined but not implemented in OpenHarmony 3.1 Release. It will be available for use in OpenHarmony 3.1 MR. - **Permission required**: ohos.permission.READ_CONTACTS **System capability**: SystemCapability.Applications.Contacts and SystemCapability.Applications.ContactsData @@ -495,8 +493,6 @@ selectContact(): Promise<Array<Contact>> Selects a contact. This API uses a promise to return the result. -This API is defined but not implemented in OpenHarmony 3.1 Release. It will be available for use in OpenHarmony 3.1 MR. - **Permission required**: ohos.permission.READ_CONTACTS **System capability**: SystemCapability.Applications.Contacts and SystemCapability.Applications.ContactsData diff --git a/en/application-dev/reference/apis/js-apis-webSocket.md b/en/application-dev/reference/apis/js-apis-webSocket.md index a1a24975f9..edf6be53ac 100644 --- a/en/application-dev/reference/apis/js-apis-webSocket.md +++ b/en/application-dev/reference/apis/js-apis-webSocket.md @@ -3,7 +3,6 @@ >![](public_sys-resources/icon-note.gif) **NOTE:** >The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version. > ->Newly added APIs are defined but not implemented in OpenHarmony 3.1 Release. They will be available for use in OpenHarmony 3.1 MR. You can use WebSocket to establish a bidirectional connection between a server and a client. Before doing this, you need to use the [createWebSocket](#websocketcreatewebsocket) API to create a [WebSocket](#websocket) object and then use the [connect](#connect) API to connect to the server. If the connection is successful, the client will receive a callback of the [open](#onopen) event. Then, the client can communicate with the server using the [send](#send) API. When the server sends a message to the client, the client will receive a callback of the [message](#onmessage) event. If the client no longer needs this connection, it can call the [close](#close) API to disconnect from the server. Then, the client will receive a callback of the [close](#onclose) event. -- GitLab