module BW::Location

Public Instance Methods

authorized?() click to toggle source
# File motion/ios/8/location_constants.rb, line 13
def authorized?
  [
    BW::Constants.get("KCLAuthorizationStatus", :authorized),
    BW::Constants.get("KCLAuthorizationStatus", :authorized_always),
    BW::Constants.get("KCLAuthorizationStatus", :authorized_when_in_use)
  ].include?(CLLocationManager.authorizationStatus)
end