-
public class DataCollectionModule extends BatchModule
Data Collection Module
-
-
Field Summary
Fields Modifier and Type Field Description private final BatchDataCollectionConfigdataCollectionConfig
-
Method Summary
Modifier and Type Method Description BatchDataCollectionConfiggetDataCollectionConfig()Get the current data collection config static DataCollectionModuleprovide()DI access method StringgetId()Get module identifier intgetState()Get module state voidbatchContextBecameAvailable(@NonNull() Context applicationContext)Method called when the batch SDK received the context voidbatchDidStart()Method called when Batch did start voidupdateDataCollectionConfig(BatchDataCollectionConfig.Editor editor)Update the current data collection config -
-
Method Detail
-
getDataCollectionConfig
BatchDataCollectionConfig getDataCollectionConfig()
Get the current data collection config
-
provide
static DataCollectionModule provide()
DI access method
-
getState
int getState()
Get module state
-
batchContextBecameAvailable
void batchContextBecameAvailable(@NonNull() Context applicationContext)
Method called when the batch SDK received the context
- Parameters:
applicationContext- The application's context
-
batchDidStart
void batchDidStart()
Method called when Batch did start
-
updateDataCollectionConfig
void updateDataCollectionConfig(BatchDataCollectionConfig.Editor editor)
Update the current data collection config
- Parameters:
editor- User's modification of the data collection config.
-
-
-
-