mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2024-11-27 17:31:12 +00:00
mark systemapi for featureability sendMsg api
Signed-off-by: kukixi <kouxinxin@huawei.com>
This commit is contained in:
parent
de4f178d90
commit
bdbea185f3
6
api/common/full/featureability.d.ts
vendored
6
api/common/full/featureability.d.ts
vendored
@ -33,6 +33,7 @@ export interface Result {
|
||||
|
||||
/**
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
export interface SubscribeMessageResponse {
|
||||
@ -149,6 +150,7 @@ export interface SubscribeAbilityEventParam {
|
||||
|
||||
/**
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
export interface SendMessageOptions {
|
||||
@ -199,6 +201,7 @@ export interface SendMessageOptions {
|
||||
|
||||
/**
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
export interface SubscribeMessageOptions {
|
||||
@ -372,6 +375,7 @@ export declare class FeatureAbility {
|
||||
* Sends messages to the destination device.
|
||||
* @param options Options.
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
static sendMsg(options: SendMessageOptions): void;
|
||||
@ -380,6 +384,7 @@ export declare class FeatureAbility {
|
||||
* Listens for messages sent from other devices.
|
||||
* @param options Options.
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
static subscribeMsg(options: SubscribeMessageOptions): void;
|
||||
@ -387,6 +392,7 @@ export declare class FeatureAbility {
|
||||
/**
|
||||
* Cancels the listening for messages sent from other devices.
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
static unsubscribeMsg(): void;
|
||||
|
6
api/common/lite/featureability.d.ts
vendored
6
api/common/lite/featureability.d.ts
vendored
@ -15,6 +15,7 @@
|
||||
|
||||
/**
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
export interface SubscribeMessageResponse {
|
||||
@ -45,6 +46,7 @@ export interface SubscribeMessageResponse {
|
||||
|
||||
/**
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
export interface SendMessageOptions {
|
||||
@ -95,6 +97,7 @@ export interface SendMessageOptions {
|
||||
|
||||
/**
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
export interface SubscribeMessageOptions {
|
||||
@ -120,6 +123,7 @@ export declare class FeatureAbility {
|
||||
* Sends messages to the destination device.
|
||||
* @param options Options.
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
static sendMsg(options: SendMessageOptions): void;
|
||||
@ -128,6 +132,7 @@ export declare class FeatureAbility {
|
||||
* Listens for messages sent from other devices.
|
||||
* @param options Options.
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
static subscribeMsg(options: SubscribeMessageOptions): void;
|
||||
@ -135,6 +140,7 @@ export declare class FeatureAbility {
|
||||
/**
|
||||
* Cancels the listening for messages sent from other devices.
|
||||
* @since 5
|
||||
* @systemapi
|
||||
* @deprecated since 8
|
||||
*/
|
||||
static unsubscribeMsg(): void;
|
||||
|
Loading…
Reference in New Issue
Block a user