STREAMWIDE SDK Android 3.12.1
STREAMWIDE SDK Android 3.12.1
/
com.streamwide.smartms.lib.core.api.loneworker
/
LoneWorkerError
Lone
Worker
Error
open
class
LoneWorkerError
:
Error
Content copied to clipboard
Fail reasons when starting LoneWorker service
Types
Constructors
Functions
Constructors
Lone
Worker
Error
Link copied to clipboard
open
fun
LoneWorkerError
(
code
:
Int
,
@
Nullable
message
:
String
)
Content copied to clipboard
Constructor to define a new LoneWorker error.
Types
Error
Code
Link copied to clipboard
@
Retention
(
value
=
RetentionPolicy.SOURCE
)
annotation class
ErrorCode
Content copied to clipboard
fail reasons when load contacts
Functions
get
Code
Link copied to clipboard
open
fun
getCode
(
)
:
Int
Content copied to clipboard
Get the error code.
get
Message
Link copied to clipboard
@
Nullable
open
fun
getMessage
(
)
:
String
Content copied to clipboard
Get the description message for the error.