Android Open Source - quickstart-map-android Map View Event Type






From Project

Back to project page quickstart-map-android.

License

The source code is released under:

Apache License ? 2.0 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by...

If you think the Android project quickstart-map-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package com.esri.quickstart;
/*from   ww  w  .  j av a2s. c  om*/
/**
 * Specifies the event type used in EsriQuickStart library.
 * @author Andy Gup
 *
 */
public enum MapViewEventType{
  /**
   * Indicates that an address has been returned from a Locator request.
   */
  ADDRESS_COMPLETE("Locator job complete. Result object java.util.List<LocatorGeocodeResult> is included in response."),
  /**
   * Indicates that a reverse geocode job was completed: lat/lon to address.
   */
  REVERSEGEOCODE_ADDRESS_COMPLETE("Reverse geocode job complete."),
  /**
   * Indicates the Locator was unable to complete the reverse geocode request. Check for messages.
   */
  REVERSEGEOCODE_ADDRESS_EXCEPTION("There was a problem with the reverse geocode job."),
  /**
   * The Locator was unable to complete the request. Check for messages.
   */
  ADDRESS_EXCEPTION("There was a problem with the Locator job."),    
  /**
   * Indicates a stop() command has been issued on the LocationService.
   */
  LOCATION_SHUTDOWN("A request has been sent to issue a stop() command on the LocationService"),
  /**
   * General exception notice for the location service. Check logcat for errors.
   */
  LOCATION_EXCEPTION("There was an unknown error related to the LocationService"),
  /**
   * Indicates the LocationService is initialized and ready.
   */    
  LOCATION_INITIALIZED("The LocationService has been initialized. NOTE: it still may fail after a start() attempt."),
  /**
   * LocationService failed after 4 attempts to restart.
   */    
  LOCATION_DELAYEDSTART_EXCEPTION("There was a problem with trying to start the LocationService. Check logcat."),    
  /**
   * Indicates an update sent by the LocationService.
   */
  LOCATION_UPDATE("The LocationService has sent an update."),
  /**
   * Indicates same as OnStatusChangedListener.STATUS.INITIALIZED. When you use this library
   * you have to use this to listen to the map initialization event. If you override the listener
   * elsewhere in your app this will not get called and will cause errors within this library.
   */
  STATUS_INITIALIZED("Same as OnStatusChangedListener.STATUS.INITIALIZED"),
  /**
   * Indicates same as OnStatusChangedListener.STATUS.LAYER_LOADING_FAILED. 
   * @see STATUS_INITIALIZED    
   */
  STATUS_LAYER_LOADING_FAILED("" +
      "An error occurred while attempting to intialize a layer. Equivalent to OnStatusChangedListener.STATUS.LAYER_LOADING_FAILED");


  private String description;
  private MapViewEventType(String description){
    this.description = description;
  }
  
  public String getDescription(){
    return description;
  }
}




Java Source Code List

com.esri.quickstart.EsriQuickStartActivity.java
com.esri.quickstart.EsriQuickStartEventListener.java
com.esri.quickstart.EsriQuickStartEvent.java
com.esri.quickstart.EsriQuickStart.java
com.esri.quickstart.EventListenerList.java
com.esri.quickstart.MapViewEventType.java
com.esri.quickstart.controller.EsriQuickStartActivityController.java
com.esri.quickstart.sample.EsriQuickStartSample2Activity.java
com.esri.template.EsriQuickStartTemplateActivity.java