[TIMOB-18720] Windows: Generate Ti.Geolocation module stub
GitHub Issue | n/a |
Type | New Feature |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-04-14T13:56:25.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:44:08.000+0000 |
Updated | 2017-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
JSON Source
https://github.com/appcelerator/titanium_mobile_windows/pull/214
Closing ticket as fixed.