Cirrious.MvvmCross.Plugins.Location.MvxGeoLocationWatcher.Start C# (CSharp) Method

Start() public method

public Start ( MvxGeoLocationOptions options, Action success, Action error ) : void
options MvxGeoLocationOptions
success Action
error Action
return void
        public void Start(MvxGeoLocationOptions options, Action<MvxGeoLocation> success, Action<MvxLocationError> error)
        {
            lock (this)
            {
                _locationCallback = success;
                _errorCallback = error;

                PlatformSpecificStart(options);

                Started = true;
            }
        }