状态 type 类型 platform 平台 status 状态 msg 错误消息 (失败时有效)
typedef OnStatus = void Function( int? type, int? platform, int? status, String? msg);