更新时间:2022-03-21 GMT+08:00
分享

onShareStatusChangeNotify

回调方法描述

设备推送共享状态通知

回调方法定义

- (void)onShareStatusChangeNotify:(IDEA_SHARE_APP_SERVER_STATUS)status: (IDEA_SHARE_ERROR_ID)reason;

参数描述

表1 参数说明

参数

是否必须

类型

描述

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) {  
              
        }  
}
分享:

    相关文档

    相关产品