public final class DetailedModelViewerDropdownReceiver extends DropDownReceiver implements DropDown.OnStateListener, LoadModelAsyncTask.Listener
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTRAS_URI |
static java.lang.String |
SHOW_3D_VIEW |
DROPDOWN_STATE_FULLSCREEN, DROPDOWN_STATE_NONE, DROPDOWN_STATE_NORMAL, FIVE_EIGTHS_HEIGHT, FIVE_EIGTHS_WIDTH, FIVE_TWELFTHS_HEIGHT, FIVE_TWELFTHS_WIDTH, FULL_HEIGHT, FULL_WIDTH, HALF_HEIGHT, HALF_WIDTH, HANDLE_THICKNESS_LANDSCAPE, HANDLE_THICKNESS_PORTRAIT, NO_HEIGHT, NO_WIDTH, QUARTER_SCREEN, SEVEN_SIXTEENTH_WIDTH, THIRD_HEIGHT, THIRD_WIDTH, THREE_EIGHTHS_HEIGHT, THREE_EIGHTHS_WIDTH, TWO_THIRDS_HEIGHT, TWO_THIRDS_WIDTH| Constructor and Description |
|---|
DetailedModelViewerDropdownReceiver(MapView mapView,
android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeImpl()
Any drop down specific disposal implementation that is performed during the
disposal of a drop down.
|
void |
onDropDownClose() |
void |
onDropDownSelectionRemoved() |
void |
onDropDownSizeChanged(double width,
double height) |
void |
onDropDownVisible(boolean v) |
void |
onLoadModelFailure(java.lang.String uri,
java.lang.String reason)
Invoked if loading the model failed
|
void |
onLoadModelSuccess(java.lang.String uri,
Model model)
Invoked if the model was loaded successfully
|
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
protected void |
onStateRequested(int state)
Signal for a request by the handle.
|
_showDropDown, callResize, closeDropDown, dispose, dropDownAlreadyExists, getAssociationKey, getBackStackCount, getDropDown, getMapView, hideDropDown, isClosed, isPortrait, isRetained, isTablet, isTransient, isVisible, onBackButtonPressed, resize, setAssociationKey, setRetain, setSelected, setSelected, setSelected, setTransient, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, showDropDown, unhideDropDownabortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtraspublic static final java.lang.String SHOW_3D_VIEW
public static final java.lang.String EXTRAS_URI
public DetailedModelViewerDropdownReceiver(MapView mapView, android.content.Context context)
public void disposeImpl()
DropDownReceiverdisposeImpl in class DropDownReceiverpublic void onReceive(android.content.Context context,
android.content.Intent intent)
onReceive in class android.content.BroadcastReceiverpublic void onDropDownSelectionRemoved()
onDropDownSelectionRemoved in interface DropDown.OnStateListenerpublic void onDropDownVisible(boolean v)
onDropDownVisible in interface DropDown.OnStateListenerpublic void onDropDownSizeChanged(double width,
double height)
onDropDownSizeChanged in interface DropDown.OnStateListenerpublic void onDropDownClose()
onDropDownClose in interface DropDown.OnStateListenerprotected void onStateRequested(int state)
DropDownReceiveronStateRequested in class DropDownReceiverstate - DROPDOWN_STATE_FULLSCREEN = 2;
DROPDOWN_STATE_NORMAL = 1;
DROPDOWN_STATE_NONE = 0;public void onLoadModelSuccess(java.lang.String uri,
Model model)
LoadModelAsyncTask.ListeneronLoadModelSuccess in interface LoadModelAsyncTask.Listeneruri - Model URImodel - the model; never nullpublic void onLoadModelFailure(java.lang.String uri,
java.lang.String reason)
LoadModelAsyncTask.ListeneronLoadModelFailure in interface LoadModelAsyncTask.Listeneruri - Model URIreason - Reason for failure