IRemoteBroker@Deprecated public interface ICommonEventSubscriber extends IRemoteBroker
SystemCapability.Notification#CES| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
DESCRIPTOR |
已过时。
|
static int |
RECV_COMMON_EVENT_DATA |
已过时。
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
onReceive(CommonEventData commonEventData) |
已过时。
|
asObject@Deprecated static final String DESCRIPTOR
@Deprecated static final int RECV_COMMON_EVENT_DATA
onReceive(ohos.event.commonevent.CommonEventData) method.@Deprecated void onReceive(CommonEventData commonEventData) throws RemoteException
commonEventData - Indicates the received CommonEventData object.RemoteException - Throws this exception if an IPC exception occurs.