mark systemapi for featureability sendMsg api

Signed-off-by: kukixi <kouxinxin@huawei.com>
This commit is contained in:
kukixi 2022-03-17 15:49:32 +08:00
parent de4f178d90
commit bdbea185f3
2 changed files with 12 additions and 0 deletions

View File

@ -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;

View File

@ -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;