on Token Report Result
public abstract void onTokenReportResult(PushType reportType, int code, PushType finalType, String finalToken)
Token Reporting Callback
Parameters
report Type
Specifies the reporting type
code
Indicates the server response code
final Type
Represents the final negotiation result
final Token
Specifies the final negotiated token
public void onTokenReportResult(PushType reportType, int code, PushType finalType, String finalToken, String message, Map<String, String> failMap)
Token report callback
Parameters
report Type
Report type
code
Server response code
final Type
Final negotiation result
final Token
Final negotiated token
message
Server response message
fail Map
Server response: types of push that ultimately failed
public void onTokenReportResult(PushType reportType, int code, PushType finalType, String finalToken, String message)
Token Reporting Callback
Parameters
report Type
Specifies the type of report
code
Indicates the code returned by the server
final Type
Represents the final negotiation result
final Token
Specifies the final negotiated token
message
Indicates the message returned by the server