iPhoneSettings.locationServiceStatus Manual     Reference     Scripting  
Scripting > Runtime Classes > iPhoneSettings
iPhoneSettings.locationServiceStatus

static var locationServiceStatus : LocationServiceStatus

Description

Returns location service status.

"Stopped" - service is not started yet. Call iPhoneSettings.StartLocationServiceUpdates to start it. "Initializing" - service was started, but still initializing. Wait for some time and check status again. "Running" - service is up and running, last location info could be retrieved. "Failed" - service startup failed, user denied access to device location.