onCommandResult property

JPushAndroidOnCommandResult? onCommandResult
final

cmd | errorCode | msg | DESCRIPTION 0 | 失败 code | 失败信息 | 注册失败 1000 | 0 | 错误信息 | 自定义消息展示错误 2003 | 0 / 1 | not stop / stopped | isPushStopped 异步回调 2004 | 0 / 1 | connected / not connect | getConnectionState 异步回调 2005 | 0 | 对应 rid | getRegistrationID 异步回调 2006 | 0 | set success | onResume 设置回调 2007 | 0 | set success | onStop 设置回调 2008 | 0 | success | 应用冷启动后,SDK 首次初始化成功的回调(只回调一次) 10000 | 0 | 无 | 厂商 token 注册回调,通过 extra 可获取对应 platform 和 token 信息

Implementation

final JPushAndroidOnCommandResult? onCommandResult;