次の方法で共有


CLLocationManagerDelegate.MonitoringFailed メソッド

定義

監視 region に失敗しました。

[Foundation.Export("locationManager:monitoringDidFailForRegion:withError:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void MonitoringFailed (CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region, Foundation.NSError error);
[Foundation.Export("locationManager:monitoringDidFailForRegion:withError:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void MonitoringFailed (CoreLocation.CLLocationManager manager, CoreLocation.CLRegion region, Foundation.NSError error);
abstract member MonitoringFailed : CoreLocation.CLLocationManager * CoreLocation.CLRegion * Foundation.NSError -> unit
override this.MonitoringFailed : CoreLocation.CLLocationManager * CoreLocation.CLRegion * Foundation.NSError -> unit

パラメーター

manager
CLLocationManager

CLLocationManagerデリゲート オブジェクトである this

region
CLRegion
error
NSError

エラーの原因。

属性

適用対象