From 6fc4a515af7a4bd0ffe34f960970c363062a92de Mon Sep 17 00:00:00 2001 From: pilipala195 Date: Thu, 17 Mar 2022 03:53:20 +0000 Subject: [PATCH] rpc api version fixed Signed-off-by: yangguangzhao --- api/@ohos.rpc.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/api/@ohos.rpc.d.ts b/api/@ohos.rpc.d.ts index 0ee21513cb..86ac201935 100644 --- a/api/@ohos.rpc.d.ts +++ b/api/@ohos.rpc.d.ts @@ -964,7 +964,7 @@ declare namespace rpc { * * @param syncFlags Specifies whether the SendRequest is called synchronously (default) or asynchronously. * @param waitTime Maximum wait time for a RPC call. The default value is TF_WAIT_TIME. - * @since 8 + * @since 7 */ constructor(syncFlags?: number, waitTime = TF_WAIT_TIME); @@ -972,7 +972,7 @@ declare namespace rpc { * Obtains the SendRequest call flag, which can be synchronous or asynchronous. * * @return Returns whether the SendRequest is called synchronously or asynchronously. - * @since 8 + * @since 7 */ getFlags(): number; @@ -980,7 +980,7 @@ declare namespace rpc { * Sets the SendRequest call flag, which can be synchronous or asynchronous. * * @param flags Indicates the call flag, which can be synchronous or asynchronous. - * @since 8 + * @since 7 */ setFlags(flags: number): void; @@ -988,7 +988,7 @@ declare namespace rpc { * Obtains the maximum wait time for this RPC call. * * @return Returns maximum wait time obtained. - * @since 8 + * @since 7 */ getWaitTime(): number; @@ -996,7 +996,7 @@ declare namespace rpc { * Sets the maximum wait time for this RPC call. * * @param waitTime Indicates maximum wait time to set. - * @since 8 + * @since 7 */ setWaitTime(waitTime: number): void; } @@ -1006,7 +1006,7 @@ declare namespace rpc { * A constructor to create a RemoteObject instance. * * @param descriptor Specifies interface descriptor. - * @since 8 + * @since 7 */ constructor(descriptor: string); -- Gitee