ArcXP-Mobile-SDK-Android
ArcXP-Mobile-SDK-Android
/
com.arcxp.commons.util
Package
com.
arcxp.
commons.
util
Types
Functions
Types
Analytics
Util
Link copied to clipboard
class
AnalyticsUtil
(
val
application
:
Application
)
Content copied to clipboard
Connection
Util
Link copied to clipboard
object
ConnectionUtil
Content copied to clipboard
Either
Link copied to clipboard
sealed
class
Either
<
out
L
,
out
R
>
Content copied to clipboard
Wrapper class for linearly passing failure or success responses
Failure
Link copied to clipboard
data
class
Failure
<
out
L
>
(
val
failure
:
L
)
:
Either
<
L
,
Nothing
>
Content copied to clipboard
Moshi
Controller
Link copied to clipboard
object
MoshiController
Content copied to clipboard
Success
Link copied to clipboard
data
class
Success
<
out
R
>
(
val
success
:
R
)
:
Either
<
Nothing
,
R
>
Content copied to clipboard
Utils
Link copied to clipboard
object
Utils
Content copied to clipboard
Functions
handle
Failure
Link copied to clipboard
fun
handleFailure
(
failure
:
Any
?
)
:
String
Content copied to clipboard
handle error data presenting