public virtual void MonitoringFailed (CLLocationManager manager, CLRegion region, NSError error)
		{
			throw new You_Should_Not_Call_base_In_This_Method ();
		}
 public virtual void DidStartMonitoringForRegion(CLRegion region)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
		public virtual void RegionLeft (CLLocationManager manager, CLRegion region)
		{
			throw new You_Should_Not_Call_base_In_This_Method ();
		}
Exemple #4
0
		public CLRegionErrorEventArgs (CLRegion region, NSError error)
		{
			this.Region = region;
			this.Error = error;
		}
		public virtual void DidStartMonitoringForRegion (CLRegion region)
		{
			throw new You_Should_Not_Call_base_In_This_Method ();
		}
Exemple #6
0
		public CLRegionEventArgs (CLRegion region)
		{
			this.Region = region;
		}
Exemple #7
0
			public override Void MonitoringFailed (CLLocationManager manager, CLRegion region, NSError error)
			{
				if (monitoringFailed != null)
					monitoringFailed (manager, new CLRegionErrorEventArgs (region, error));
			}
Exemple #8
0
			public override Void RegionLeft (CLLocationManager manager, CLRegion region)
			{
				if (regionLeft != null)
					regionLeft (manager, new CLRegionEventArgs (region));
			}
Exemple #9
0
		public virtual void StopMonitoring (CLRegion region)
		{
			if (region == null)
				throw new ArgumentNullException ("region");
			if (IsDirectBinding) {
				MonoMac.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr (this.Handle, selStopMonitoringForRegion, region.Handle);
			} else {
				MonoMac.ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr (this.SuperHandle, selStopMonitoringForRegion, region.Handle);
			}
		}
Exemple #10
0
		public virtual void StartMonitoring (CLRegion region, System.Double desiredAccuracy)
		{
			if (region == null)
				throw new ArgumentNullException ("region");
			if (IsDirectBinding) {
				MonoMac.ObjCRuntime.Messaging.void_objc_msgSend_IntPtr_Double (this.Handle, selStartMonitoringForRegionDesiredAccuracy, region.Handle, desiredAccuracy);
			} else {
				MonoMac.ObjCRuntime.Messaging.void_objc_msgSendSuper_IntPtr_Double (this.SuperHandle, selStartMonitoringForRegionDesiredAccuracy, region.Handle, desiredAccuracy);
			}
		}