Hive SDK v4
24.5.0
androidJvm
Hive SDK v4
/
com.hive
/
ResultAPI
Result
API
class
ResultAPI
API 호출에 대한 결과를 담는 클래스
Class containing results for API calls
Since
v4.4.0.0
Members
Constructors
Result
API
Link copied to clipboard
constructor
(
)
constructor
(
errorCode
:
Int
,
code
:
ResultAPI.Code
)
constructor
(
errorCode
:
Int
,
code
:
ResultAPI.Code
,
additionalMessage
:
String
?
)
constructor
(
code
:
ResultAPI.Code
,
additionalMessage
:
String
?
)
Types
Code
Link copied to clipboard
enum
Code
:
Enum
<
ResultAPI.Code
>
Companion
Link copied to clipboard
object
Companion
Peppermint
Err
Code
Link copied to clipboard
class
PeppermintErrCode
Properties
code
Link copied to clipboard
var
code
:
ResultAPI.Code
error
Code
Link copied to clipboard
var
errorCode
:
Int
error
Message
Link copied to clipboard
val
errorMessage
:
String
is
Failure
Link copied to clipboard
val
isFailure
:
Boolean
is
Success
Link copied to clipboard
val
isSuccess
:
Boolean
latency
Ms
Link copied to clipboard
var
latencyMs
:
Long
message
Link copied to clipboard
var
message
:
String
Functions
need
Exit
Link copied to clipboard
fun
needExit
(
)
:
Boolean
to
Json
Link copied to clipboard
fun
toJson
(
)
:
JSONObject
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String