Class CrashService
-
- All Implemented Interfaces:
public final class CrashService extends MobileService
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCrashService.CrashUploadWorker
-
Field Summary
Fields Modifier and Type Field Description private Booleanconsented
-
Constructor Summary
Constructors Constructor Description CrashService(Boolean isOnlineOData)
-
Method Summary
Modifier and Type Method Description final BooleangetConsented()final UnitsetConsented(Boolean value)Unitinit(Application application, String apiKey)Initializes the mobile service UnitonStateChange(ApplicationState state)Notified when application state changes. final Unitupload(ServiceListener<Integer> listener)-
-
Method Detail
-
getConsented
final Boolean getConsented()
-
setConsented
final Unit setConsented(Boolean value)
-
init
Unit init(Application application, String apiKey)
Initializes the mobile service
-
onStateChange
Unit onStateChange(ApplicationState state)
Notified when application state changes. This function will be called on Main thread.
-
upload
final Unit upload(ServiceListener<Integer> listener)
-
-
-
-