
# 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) {  
              
        }  
}
```
