mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-23 15:20:17 +00:00
update jsdoc useinstead
Signed-off-by: crazy_hu <huxiusong1@huawei.com>
This commit is contained in:
parent
9b169f6564
commit
3eac6fb102
8
api/@ohos.rpc.d.ts
vendored
8
api/@ohos.rpc.d.ts
vendored
@ -1709,6 +1709,7 @@ declare namespace rpc {
|
||||
* @throws RemoteException Throws this exception if the method fails to be called.
|
||||
* @since 7
|
||||
* @deprecated since 9
|
||||
* @useinstead ohos.rpc.IRemoteObject#sendMessageRequest
|
||||
*/
|
||||
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
|
||||
|
||||
@ -2090,6 +2091,7 @@ declare namespace rpc {
|
||||
* @throws RemoteException Throws this exception if a remote service error occurs.
|
||||
* @since 7
|
||||
* @deprecated since 9
|
||||
* @useinstead ohos.rpc.RemoteObject#onRemoteMessageRequest
|
||||
*/
|
||||
onRemoteRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
|
||||
|
||||
@ -2104,8 +2106,9 @@ declare namespace rpc {
|
||||
* @param reply Indicates the {@link MessageParcel} object receiving the response data.
|
||||
* @param options Indicates a synchronous (default) or asynchronous request.
|
||||
* @returns Returns {@code true} if the operation succeeds; returns {@code false} otherwise.
|
||||
* @deprecated since 8
|
||||
* @since 7
|
||||
* @deprecated since 8
|
||||
* @useinstead ohos.rpc.RemoteObject#sendMessageRequest
|
||||
*/
|
||||
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
|
||||
|
||||
@ -2380,8 +2383,9 @@ declare namespace rpc {
|
||||
* @param options Indicates a synchronous (default) or asynchronous request.
|
||||
* @returns Returns {@code true} if the operation succeeds; returns {@code false} otherwise.
|
||||
* @throws RemoteException Throws this exception if a remote object exception occurs.
|
||||
* @deprecated since 8
|
||||
* @since 7
|
||||
* @deprecated since 8
|
||||
* @useinstead ohos.rpc.RemoteProxy#sendMessageRequest
|
||||
*/
|
||||
sendRequest(code: number, data: MessageParcel, reply: MessageParcel, options: MessageOption): boolean;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user