public final class VmapLoader
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VmapLoader.OnVmapLoadedListener
Class that is implemented to determine when the Vmap loading has completed or failed.
|
Constructor and Description |
---|
VmapLoader(android.content.Context context)
Constructs a new
VmapLoader . |
Modifier and Type | Method and Description |
---|---|
void |
cancelLoading()
Cancel Vmap loading.
|
void |
loadVmap(android.content.Context context,
VmapRequestConfiguration configuration)
Start Vmap loading.
|
void |
setOnVmapLoadedListener(VmapLoader.OnVmapLoadedListener listener)
Sets an
VmapLoader.OnVmapLoadedListener . |
public VmapLoader(@NonNull android.content.Context context)
VmapLoader
.context
- Interface to global information about an application environment.public void cancelLoading()
public void loadVmap(@NonNull android.content.Context context, @NonNull VmapRequestConfiguration configuration)
context
- The activity context. Interface to global information about an application environment.configuration
- Loader configuration VmapRequestConfiguration
.public void setOnVmapLoadedListener(@Nullable VmapLoader.OnVmapLoadedListener listener)
VmapLoader.OnVmapLoadedListener
.listener
- an VmapLoader.OnVmapLoadedListener
.
A listener to receive downloaded Vmap