Project: titanium
Issue TIMOB-18722: Windows: Implement Ti.Geolocation constants, properties and accessor methods
This is to ensure we have proper setters/getters set up in TitaniumKit (likely already done for us by stub generation), and then to hook up the relevant properties in the Windows subclass - typically overriding some setters to take action. h2. Constants - ACCURACY_BEST R O - ACCURACY_BEST_FOR_NAVIGATION R O - ACCURACY_HIGH R O - ACCURACY_HUNDRED_METERS R O - ACCURACY_KILOMETER R O - ACCURACY_LOW R O - ACCURACY_NEAREST_TEN_METERS R O - ACCURACY_THREE_KILOMETERS R O - ACTIVITYTYPE_AUTOMOTIVE_NAVIGATION R O - ACTIVITYTYPE_FITNESS R O - ACTIVITYTYPE_OTHER R O - ACTIVITYTYPE_OTHER_NAVIGATION R O - AUTHORIZATION_ALWAYS R O - AUTHORIZATION_AUTHORIZED R O - AUTHORIZATION_DENIED R O - AUTHORIZATION_RESTRICTED R O - AUTHORIZATION_UNKNOWN R O - AUTHORIZATION_WHEN_IN_USE R O - ERROR_DENIED R O - ERROR_HEADING_FAILURE R O - ERROR_LOCATION_UNKNOWN R O - ERROR_NETWORK R O - ERROR_REGION_MONITORING_DELAYED R O - ERROR_REGION_MONITORING_DENIED R O - ERROR_REGION_MONITORING_FAILURE R O - ERROR_TIMEOUT R O - PROVIDER_GPS R O - PROVIDER_NETWORK R O - PROVIDER_PASSIVE R O h2. Properties - accuracy - activityType - distanceFilter - hasCompass R O - headingFilter - lastGeolocation R O - locationServicesAuthorization - locationServicesEnabled R O - pauseLocationUpdateAutomatically - purpose - showCalibration - trackSignificantLocationChange h2. Methods - getAccuracy - getActivityType - getDistanceFilter - getHasCompass - getHeadingFilter - getLastGeolocation - getLocationServicesAuthorization - getLocationServicesEnabled - getPauseLocationUpdateAutomatically - getPurpose - getShowCalibration - getTrackSignificantLocationChange - setAccuracy - setActivityType - setDistanceFilter - setHeadingFilter - setLocationServicesAuthorization - setPauseLocationUpdateAutomatically - setPurpose - setShowCalibration - setTrackSignificantLocationChange
Story points: 5