public class ResectionMapComponent extends DropDownMapComponent
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResectionMapComponent.BackButtonCallback
For canceling the estimate selection process on a back button press in the DropDown
|
class |
ResectionMapComponent.ResectionWorkflowReceiver
Exposes the Resectioning Launcher as a capability that external or internal resectioning
capabilities can utilize.
|
class |
ResectionMapComponent.ResectionWorkflowResultHandler
Handler class for dealing with location estimates coming in from Resection Workflows.
|
AbstractMapComponent.OnAllComponentsCreatedCallback| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TAG |
| Constructor and Description |
|---|
ResectionMapComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
addResectionWorkflow(android.graphics.drawable.Drawable icon,
java.lang.String txt,
ResectionWorkflow rwf)
Installs a resectioning workflow with the system.
|
static ResectionMapComponent |
getInstance()
Get the ResectionMapComponent in order to register additional or unregister new Resectioning
or Denied GPS workflows.
|
void |
onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
Called when the component is first created
|
void |
onDestroyImpl(android.content.Context context,
MapView view)
This method is invoked as a subset of the onDestroy call as part of the
MapComponent lifecycle.
|
void |
removeResectionWorkflow(ResectionWorkflow rwf)
Removes a resectioning workflow with the system.
|
onCreateOptionsMenu, onOptionsItemSelected, onOptionsMenuClosed, onPrepareOptionsMenu, registerDropDownReceiveraddOverlay, onConfigurationChanged, onDestroy, onPause, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiverpublic static final java.lang.String TAG
public void onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
MapComponentonCreate in interface MapComponentonCreate in class DropDownMapComponentcontext - the context of the component (the MapActivity instance)intent - the intent of the MapActivityview - the main MapViewpublic void onDestroyImpl(android.content.Context context,
MapView view)
AbstractMapComponentonDestroyImpl in class DropDownMapComponentpublic static ResectionMapComponent getInstance()
public void addResectionWorkflow(android.graphics.drawable.Drawable icon,
java.lang.String txt,
ResectionWorkflow rwf)
icon - the icon used when the selection dialog is shown.txt - the text that appears under the icon.rwf - the resectioning workflow.public void removeResectionWorkflow(ResectionWorkflow rwf)
rwf - the resectioning workflow to remove