public static interface LayerScanner.Callback
| Modifier and Type | Field and Description | 
|---|---|
| static int | NOTIFY_ERROR | 
| static int | NOTIFY_PROGRESS | 
| Modifier and Type | Method and Description | 
|---|---|
| void | debug(java.lang.String msg)Invoked when this LayerScanner has a debug message to display. | 
| void | error(java.lang.String msg)Invoked when this LayerScanner has an error message to display. | 
| android.content.Context | getContext() | 
| LocalRasterDataStore | getLayersDatabase()Returns the  LocalRasterDataStoreinstance that the scanner will be populating. | 
| int | getNotificationFlags() | 
| void | layerDiscovered(DatasetDescriptor layer)Invoked when a new layer has been discovered by this LayerScanner and added to the
 LayersDatabase. | 
static final int NOTIFY_ERROR
static final int NOTIFY_PROGRESS
void layerDiscovered(DatasetDescriptor layer)
layer - the layer that has been addedvoid debug(java.lang.String msg)
msg - the message to display.void error(java.lang.String msg)
msg - the message to display.LocalRasterDataStore getLayersDatabase()
LocalRasterDataStore instance that the scanner will be populating. The
 scanner may use this reference to validate currency against the current catalog, mark
 layers as valid or delete layers when an update is required.LocalRasterDataStore instance that the scanner is working to populate.int getNotificationFlags()
android.content.Context getContext()