[TIMOB-18722] Windows: Implement Ti.Geolocation constants, properties and accessor methods
GitHub Issue | n/a |
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-04-14T13:56:29.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | Windows |
Labels | n/a |
Reporter | Christopher Williams |
Assignee | Kota Iguchi |
Created | 2015-03-20T13:46:34.000+0000 |
Updated | 2017-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
JSON Source
https://github.com/appcelerator/titanium_mobile_windows/pull/214
Closing ticket as fixed.