編輯

共用方式為


CLLocationManagerDelegate_Extensions Class

Definition

Extension methods to the ICLLocationManagerDelegate interface to support all the methods from the CLLocationManagerDelegate protocol.

public static class CLLocationManagerDelegate_Extensions
type CLLocationManagerDelegate_Extensions = class
Inheritance
CLLocationManagerDelegate_Extensions

Remarks

The extension methods for ICLLocationManagerDelegate allow developers to treat instances of the interface as having all the optional methods of the original CLLocationManagerDelegate protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

AuthorizationChanged(ICLLocationManagerDelegate, CLLocationManager, CLAuthorizationStatus)
DeferredUpdatesFinished(ICLLocationManagerDelegate, CLLocationManager, NSError)
DidDetermineState(ICLLocationManagerDelegate, CLLocationManager, CLRegionState, CLRegion)
DidRangeBeacons(ICLLocationManagerDelegate, CLLocationManager, CLBeacon[], CLBeaconRegion)
DidStartMonitoringForRegion(ICLLocationManagerDelegate, CLLocationManager, CLRegion)
DidVisit(ICLLocationManagerDelegate, CLLocationManager, CLVisit)
Failed(ICLLocationManagerDelegate, CLLocationManager, NSError)
LocationsUpdated(ICLLocationManagerDelegate, CLLocationManager, CLLocation[])
LocationUpdatesPaused(ICLLocationManagerDelegate, CLLocationManager)
LocationUpdatesResumed(ICLLocationManagerDelegate, CLLocationManager)
MonitoringFailed(ICLLocationManagerDelegate, CLLocationManager, CLRegion, NSError)
RangingBeaconsDidFailForRegion(ICLLocationManagerDelegate, CLLocationManager, CLBeaconRegion, NSError)
RegionEntered(ICLLocationManagerDelegate, CLLocationManager, CLRegion)
RegionLeft(ICLLocationManagerDelegate, CLLocationManager, CLRegion)
ShouldDisplayHeadingCalibration(ICLLocationManagerDelegate, CLLocationManager)
UpdatedHeading(ICLLocationManagerDelegate, CLLocationManager, CLHeading)
UpdatedLocation(ICLLocationManagerDelegate, CLLocationManager, CLLocation, CLLocation)

Developers should not use this deprecated method.

Applies to