예제 #1
0
		public virtual void MonitoringFailed (CLLocationManager manager, CLRegion region, NSError error)
		{
			throw new You_Should_Not_Call_base_In_This_Method ();
		}
예제 #2
0
 public virtual void DidStartMonitoringForRegion(CLRegion region)
 {
     throw new You_Should_Not_Call_base_In_This_Method();
 }
예제 #3
0
		public virtual void RegionLeft (CLLocationManager manager, CLRegion region)
		{
			throw new You_Should_Not_Call_base_In_This_Method ();
		}
예제 #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 ();
		}
예제 #6
0
		public CLRegionEventArgs (CLRegion region)
		{
			this.Region = region;
		}
예제 #7
0
			public override Void MonitoringFailed (CLLocationManager manager, CLRegion region, NSError error)
			{
				if (monitoringFailed != null)
					monitoringFailed (manager, new CLRegionErrorEventArgs (region, error));
			}
예제 #8
0
			public override Void RegionLeft (CLLocationManager manager, CLRegion region)
			{
				if (regionLeft != null)
					regionLeft (manager, new CLRegionEventArgs (region));
			}
예제 #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);
			}
		}
예제 #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);
			}
		}