public abstract class AdditionalCFFMapComponent extends AbstractMapComponent
AbstractMapComponent.OnAllComponentsCreatedCallback
TAG
Constructor and Description |
---|
AdditionalCFFMapComponent() |
Modifier and Type | Method and Description |
---|---|
static AdditionalCFFMapComponent |
getInstance() |
abstract TileButtonDialog.TileButton |
registerCapability(android.graphics.drawable.Drawable icon,
java.lang.String text,
java.lang.String i)
Allows for additional Call for Fire buttons to be made available to the
end user.
|
static void |
registerImplementation(AdditionalCFFMapComponent concreteImpl)
Used by the system plugin to register a concrete implementation of the
call for fire capability.
|
abstract void |
unregisterCapability(TileButtonDialog.TileButton tb)
Removes the additional call for fire button from the tile button dialog.
|
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onDestroyImpl, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onCreate
public static AdditionalCFFMapComponent getInstance()
public static void registerImplementation(AdditionalCFFMapComponent concreteImpl)
concreteImpl
- the concrete call for fire implementationpublic abstract TileButtonDialog.TileButton registerCapability(android.graphics.drawable.Drawable icon, java.lang.String text, java.lang.String i)
i
- is the intent string to call. This intent is filled in with
targetUID and friendlyUID.public abstract void unregisterCapability(TileButtonDialog.TileButton tb)
tb
- the TileButton returned by the registerCapability.