目录

BaseResp

Class Info

public class BaseResp

Return entity base class of the Safety Detect APIs.

Public Method Summary

Qualifier and Type

Method Name and Description

int

getRtnCode()

Obtains the result code of Safety Detect.

String

getErrorReason()

Obtains the result code description of Safety Detect.

Public Methods

[h2]getRtnCode

Method

public int getRtnCode()

Obtains the result code of Safety Detect. Result code 0 will be returned upon successful check. For details, please refer to SafetyDetectStatusCodes.

Returns

Type

Description

int

Result code of Safety Detect.

[h2]getErrorReason

Method

public String getErrorReason()

Obtains the result code description of Safety Detect. A non-empty string is returned only when the result code is not 0.

Returns

Type

Description

String

Result code description of Safety Detect.