コード例 #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
ファイル: CLLocationManager.g.cs プロジェクト: sichy/monomac
		public CLRegionErrorEventArgs (CLRegion region, NSError error)
		{
			this.Region = region;
			this.Error = error;
		}
コード例 #5
0
		public virtual void DidStartMonitoringForRegion (CLRegion region)
		{
			throw new You_Should_Not_Call_base_In_This_Method ();
		}
コード例 #6
0
ファイル: CLLocationManager.g.cs プロジェクト: sichy/monomac
		public CLRegionEventArgs (CLRegion region)
		{
			this.Region = region;
		}
コード例 #7
0
ファイル: CLLocationManager.g.cs プロジェクト: sichy/monomac
			public override Void MonitoringFailed (CLLocationManager manager, CLRegion region, NSError error)
			{
				if (monitoringFailed != null)
					monitoringFailed (manager, new CLRegionErrorEventArgs (region, error));
			}
コード例 #8
0
ファイル: CLLocationManager.g.cs プロジェクト: sichy/monomac
			public override Void RegionLeft (CLLocationManager manager, CLRegion region)
			{
				if (regionLeft != null)
					regionLeft (manager, new CLRegionEventArgs (region));
			}
コード例 #9
0
ファイル: CLLocationManager.g.cs プロジェクト: sichy/monomac
		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
ファイル: CLLocationManager.g.cs プロジェクト: sichy/monomac
		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);
			}
		}