public interface Action |
通知反馈的回调,反馈用户在穿戴侧收到通知后的行为。
Modifier and Type | Method and Description |
|---|---|
void | onError(Notification notification, int errorCode, java.lang.String errorMsg) 通知异常反馈。 |
void | onResult(Notification notification, int feedback) 通知反馈。 |
void onResult(Notification notification, int feedback)
通知反馈。
Parameters:
Parameter Name | Parameter Description |
|---|---|
notification | 通知类 |
feedback | 通知反馈结果。 0:物理HOME键退出或者灭屏; 1:删除消息; 2:用户点击第一个按钮; 3:用户点击第二个按钮; 4:用户点击第三个按钮。 |
Since:
API level 2 (SDK 5.0.1.300)
void onError(Notification notification, int errorCode, java.lang.String errorMsg)
通知异常反馈。
Parameters:
Parameter Name | Parameter Description |
|---|---|
notification | 通知类 |
errorCode | 通知异常错误码 |
errorMsg | 通知异常描述 |
Since:
API level 2 (SDK 5.0.1.300)