onTokenReportResult

public abstract void onTokenReportResult(PushType reportType, int code, PushType finalType, String finalToken)

Token Reporting Callback

Parameters

reportType

Specifies the reporting type

code

Indicates the server response code

finalType

Represents the final negotiation result

finalToken

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

reportType

Report type

code

Server response code

finalType

Final negotiation result

finalToken

Final negotiated token

message

Server response message

failMap

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

reportType

Specifies the type of report

code

Indicates the code returned by the server

finalType

Represents the final negotiation result

finalToken

Specifies the final negotiated token

message

Indicates the message returned by the server