toggle menu
snabble Android SDK API Documentation
androidJvm
switch theme
search in API
utils
/
io.snabble.sdk.utils
/
SimpleJsonCallback
Simple
Json
Callback
abstract
class
SimpleJsonCallback
<
T
>
:
JsonCallback
<
T
,
T2
>
Members
Constructors
Simple
Json
Callback
Link copied to clipboard
constructor
(
clazz
:
Class
<
T
>
)
Types
Simple
Json
Callback
Exception
Link copied to clipboard
open
class
SimpleJsonCallbackException
:
Exception
Functions
error
Link copied to clipboard
abstract
fun
error
(
t
:
Throwable
)
failure
Link copied to clipboard
open
fun
failure
(
obj
:
T
)
headers
Link copied to clipboard
open
fun
headers
(
)
:
Headers
on
Failure
Link copied to clipboard
open
fun
onFailure
(
call
:
Call
,
e
:
IOException
)
abstract
fun
onFailure
(
p
:
Call
,
p1
:
IOException
)
on
Response
Link copied to clipboard
open
fun
onResponse
(
call
:
Call
,
response
:
Response
)
abstract
fun
onResponse
(
p
:
Call
,
p1
:
Response
)
raw
Response
Link copied to clipboard
open
fun
rawResponse
(
)
:
String
response
Code
Link copied to clipboard
open
fun
responseCode
(
)
:
Int
success
Link copied to clipboard
abstract
fun
success
(
obj
:
T
)