更新时间:2022-03-21 GMT+08:00
onShareStatusChangeNotify
回调方法描述
设备推送共享状态通知
回调方法定义
- (void)onShareStatusChangeNotify:(IDEA_SHARE_APP_SERVER_STATUS)status: (IDEA_SHARE_ERROR_ID)reason;
参数描述
|
参数 |
是否必须 |
类型 |
描述 |
|---|---|---|---|
|
status |
是 |
IDEA_SHARE_APP_STATUS |
设备状态通知枚举值 |
|
reason |
是 |
IDEA_SHARE_ERROR_ID |
错误码 |
示例代码
- (void) onShareStatusChangeNotify : (IDEA_SHARE_APP_SERVER_STATUS) status : (IDEA_SHARE_ERROR_ID) reason
{
if (status == 3)
{
} else if (status == 2) {
}
}
父主题: 设备推送通知