mirror of
https://gitee.com/openharmony/interface_sdk-js
synced 2025-02-20 00:53:32 +00:00
Signed-off-by: zero-cyc <chenlien@huawei.com> Change-Id: I3e7fe2afd8d3b6e92bc272281da3bb3f7246eb92
This commit is contained in:
parent
f48ab9a90c
commit
ffc5d91467
4
api/commonEvent/commonEventData.d.ts
vendored
4
api/commonEvent/commonEventData.d.ts
vendored
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@ -16,7 +16,7 @@
|
||||
/**
|
||||
* the data of the commonEvent
|
||||
* @name CommonEventData
|
||||
* @syscap SystemCapability.Notification.commonEvent
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @since 7
|
||||
* @permission N/A
|
||||
*/
|
||||
|
6
api/commonEvent/commonEventPublishData.d.ts
vendored
6
api/commonEvent/commonEventPublishData.d.ts
vendored
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@ -17,7 +17,7 @@
|
||||
* containing the common event content and attributes
|
||||
* @name CommonEventPublishData
|
||||
* @since 7
|
||||
* @syscap SystemCapability.Notification.commonEvent
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @permission N/A
|
||||
*/
|
||||
export interface CommonEventPublishData {
|
||||
@ -75,4 +75,4 @@ export interface CommonEventPublishData {
|
||||
* @since 7
|
||||
*/
|
||||
parameters?: {[key: string]: any};
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2021 Huawei Device Co., Ltd.
|
||||
* Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
@ -17,7 +17,7 @@
|
||||
* the information of the subscriber
|
||||
* @name CommonEventSubscribeInfo
|
||||
* @since 7
|
||||
* @syscap SystemCapability.Notification.commonEvent
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @permission N/A
|
||||
*/
|
||||
export interface CommonEventSubscribeInfo {
|
||||
@ -63,4 +63,4 @@ export interface CommonEventSubscribeInfo {
|
||||
* @since 7
|
||||
*/
|
||||
priority?: number;
|
||||
}
|
||||
}
|
||||
|
2
api/commonEvent/commonEventSubscriber.d.ts
vendored
2
api/commonEvent/commonEventSubscriber.d.ts
vendored
@ -19,7 +19,7 @@ import { CommonEventSubscribeInfo } from './commonEventSubscribeInfo';
|
||||
* the subscriber of common event
|
||||
* @name CommonEventSubscriber
|
||||
* @since 7
|
||||
* @syscap SystemCapability.Notification.commonEvent
|
||||
* @syscap SystemCapability.Notification.CommonEvent
|
||||
* @permission N/A
|
||||
*/
|
||||
export interface CommonEventSubscriber {
|
||||
|
Loading…
x
Reference in New Issue
Block a user