C# Class Unity.Platform.IPhone.UnityLocationManagerDelegate

Inheritance: CLLocationManagerDelegate
Show file Open project: Appverse/appverse-mobile

Public Methods

Method Description
Failed ( CLLocationManager m, NSError e ) : void

Show a message if the CLLocationManager says so

LocationsUpdated ( CLLocationManager manager, CLLocation locations ) : void

This method is called every time CLLocationManager gets a new reading from the hardware, _until_ StopUpdatingLocation is called (which we do call in this method, after the first reading is received)

UnityLocationManagerDelegate ( UnityLocation unityLoc, UnityHeading unityHead, Unity.Core.Geo.GeoDecoderAttributes geoDecoderAttributes ) : System

Keep a reference to UnityLocation, UnityHeading and UnityGeoDecoder so that we can access the different location, heading and geodecoder attributes.

UpdatedHeading ( CLLocationManager locationManager, CLHeading head ) : void

This method is called every time CLLocationManager gets a new reading from the hardware, _until_ StopUpdatingLocation is called (which we do call in this method, after the first reading is received)

UpdatedLocation ( CLLocationManager locationManager, CLLocation newLocation, CLLocation oldLocation ) : void

This method is called every time CLLocationManager gets a new reading from the hardware, _until_ StopUpdatingLocation is called (which we do call in this method, after the first reading is received)

Private Methods

Method Description
getMajorVersionNumber ( ) : int

Method Details

Failed() public method

Show a message if the CLLocationManager says so
public Failed ( CLLocationManager m, NSError e ) : void
m CLLocationManager
e NSError
return void

LocationsUpdated() public method

This method is called every time CLLocationManager gets a new reading from the hardware, _until_ StopUpdatingLocation is called (which we do call in this method, after the first reading is received)
public LocationsUpdated ( CLLocationManager manager, CLLocation locations ) : void
manager CLLocationManager Manager.
locations CLLocation Locations.
return void

UnityLocationManagerDelegate() public method

Keep a reference to UnityLocation, UnityHeading and UnityGeoDecoder so that we can access the different location, heading and geodecoder attributes.
public UnityLocationManagerDelegate ( UnityLocation unityLoc, UnityHeading unityHead, Unity.Core.Geo.GeoDecoderAttributes geoDecoderAttributes ) : System
unityLoc UnityLocation
unityHead UnityHeading
geoDecoderAttributes Unity.Core.Geo.GeoDecoderAttributes
return System

UpdatedHeading() public method

This method is called every time CLLocationManager gets a new reading from the hardware, _until_ StopUpdatingLocation is called (which we do call in this method, after the first reading is received)
public UpdatedHeading ( CLLocationManager locationManager, CLHeading head ) : void
locationManager CLLocationManager
head CLHeading
return void

UpdatedLocation() public method

This method is called every time CLLocationManager gets a new reading from the hardware, _until_ StopUpdatingLocation is called (which we do call in this method, after the first reading is received)
public UpdatedLocation ( CLLocationManager locationManager, CLLocation newLocation, CLLocation oldLocation ) : void
locationManager CLLocationManager
newLocation CLLocation
oldLocation CLLocation
return void