Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18720] Windows: Generate Ti.Geolocation module stub

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2015-04-14T13:56:25.000+0000
Affected Version/sn/a
Fix Version/sRelease 4.1.0
ComponentsWindows
Labelsn/a
ReporterChristopher Williams
AssigneeKota Iguchi
Created2015-03-20T13:44:08.000+0000
Updated2017-03-16T22:25:41.000+0000

Description

This involves using our module generator and stubbing out the full API of the module. We should have all the methods and properties set up in TitaniumKit with appropriate getters/setters, and have stubs to fill in for the Windows subclass' actual implementation.

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

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

Events

- authorization - calibration - heading - location - locationupdatepaused - locationupdateresumed

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