Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18722] Windows: Implement Ti.Geolocation constants, properties and accessor methods

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-04-14T13:56:29.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeKota Iguchi
Created2015-03-20T13:46:34.000+0000
Updated2017-03-16T22:40:13.000+0000

Description

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.

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

Properties

- accuracy - activityType - distanceFilter - hasCompass R O - headingFilter - lastGeolocation R O - locationServicesAuthorization - locationServicesEnabled R O - pauseLocationUpdateAutomatically - purpose - showCalibration - trackSignificantLocationChange

Methods

- getAccuracy - getActivityType - getDistanceFilter - getHasCompass - getHeadingFilter - getLastGeolocation - getLocationServicesAuthorization - getLocationServicesEnabled - getPauseLocationUpdateAutomatically - getPurpose - getShowCalibration - getTrackSignificantLocationChange - setAccuracy - setActivityType - setDistanceFilter - setHeadingFilter - setLocationServicesAuthorization - setPauseLocationUpdateAutomatically - setPurpose - setShowCalibration - setTrackSignificantLocationChange

Comments

  1. Kota Iguchi 2015-04-14

    https://github.com/appcelerator/titanium_mobile_windows/pull/214
  2. Lee Morris 2017-03-16

    Closing ticket as fixed.

JSON Source