pub unsafe trait CLLocationManagerDelegate: NSObjectProtocol {
Show 20 methods // Provided methods unsafe fn locationManager_didUpdateToLocation_fromLocation( &self, manager: &CLLocationManager, new_location: &CLLocation, old_location: &CLLocation ) where Self: Sized + Message { ... } unsafe fn locationManager_didUpdateLocations( &self, manager: &CLLocationManager, locations: &NSArray<CLLocation> ) where Self: Sized + Message { ... } unsafe fn locationManager_didUpdateHeading( &self, manager: &CLLocationManager, new_heading: &CLHeading ) where Self: Sized + Message { ... } unsafe fn locationManagerShouldDisplayHeadingCalibration( &self, manager: &CLLocationManager ) -> bool where Self: Sized + Message { ... } unsafe fn locationManager_didDetermineState_forRegion( &self, manager: &CLLocationManager, state: CLRegionState, region: &CLRegion ) where Self: Sized + Message { ... } unsafe fn locationManager_didRangeBeacons_inRegion( &self, manager: &CLLocationManager, beacons: &NSArray<CLBeacon>, region: &CLBeaconRegion ) where Self: Sized + Message { ... } unsafe fn locationManager_rangingBeaconsDidFailForRegion_withError( &self, manager: &CLLocationManager, region: &CLBeaconRegion, error: &NSError ) where Self: Sized + Message { ... } unsafe fn locationManager_didRangeBeacons_satisfyingConstraint( &self, manager: &CLLocationManager, beacons: &NSArray<CLBeacon>, beacon_constraint: &CLBeaconIdentityConstraint ) where Self: Sized + Message { ... } unsafe fn locationManager_didFailRangingBeaconsForConstraint_error( &self, manager: &CLLocationManager, beacon_constraint: &CLBeaconIdentityConstraint, error: &NSError ) where Self: Sized + Message { ... } unsafe fn locationManager_didEnterRegion( &self, manager: &CLLocationManager, region: &CLRegion ) where Self: Sized + Message { ... } unsafe fn locationManager_didExitRegion( &self, manager: &CLLocationManager, region: &CLRegion ) where Self: Sized + Message { ... } unsafe fn locationManager_didFailWithError( &self, manager: &CLLocationManager, error: &NSError ) where Self: Sized + Message { ... } unsafe fn locationManager_monitoringDidFailForRegion_withError( &self, manager: &CLLocationManager, region: Option<&CLRegion>, error: &NSError ) where Self: Sized + Message { ... } unsafe fn locationManager_didChangeAuthorizationStatus( &self, manager: &CLLocationManager, status: CLAuthorizationStatus ) where Self: Sized + Message { ... } unsafe fn locationManagerDidChangeAuthorization( &self, manager: &CLLocationManager ) where Self: Sized + Message { ... } unsafe fn locationManager_didStartMonitoringForRegion( &self, manager: &CLLocationManager, region: &CLRegion ) where Self: Sized + Message { ... } unsafe fn locationManagerDidPauseLocationUpdates( &self, manager: &CLLocationManager ) where Self: Sized + Message { ... } unsafe fn locationManagerDidResumeLocationUpdates( &self, manager: &CLLocationManager ) where Self: Sized + Message { ... } unsafe fn locationManager_didFinishDeferredUpdatesWithError( &self, manager: &CLLocationManager, error: Option<&NSError> ) where Self: Sized + Message { ... } unsafe fn locationManager_didVisit( &self, manager: &CLLocationManager, visit: &CLVisit ) where Self: Sized + Message { ... }
}
Available on crate feature CLLocationManagerDelegate only.

Provided Methods§

source

unsafe fn locationManager_didUpdateToLocation_fromLocation( &self, manager: &CLLocationManager, new_location: &CLLocation, old_location: &CLLocation )
where Self: Sized + Message,

👎Deprecated: Implement -locationManager:didUpdateLocations: instead
Available on crate features CLLocation and CLLocationManager only.
source

unsafe fn locationManager_didUpdateLocations( &self, manager: &CLLocationManager, locations: &NSArray<CLLocation> )
where Self: Sized + Message,

Available on crate features CLLocation and CLLocationManager only.
source

unsafe fn locationManager_didUpdateHeading( &self, manager: &CLLocationManager, new_heading: &CLHeading )
where Self: Sized + Message,

Available on crate features CLHeading and CLLocationManager only.
source

unsafe fn locationManagerShouldDisplayHeadingCalibration( &self, manager: &CLLocationManager ) -> bool
where Self: Sized + Message,

Available on crate feature CLLocationManager only.
source

unsafe fn locationManager_didDetermineState_forRegion( &self, manager: &CLLocationManager, state: CLRegionState, region: &CLRegion )
where Self: Sized + Message,

Available on crate features CLLocationManager and CLRegion only.
source

unsafe fn locationManager_didRangeBeacons_inRegion( &self, manager: &CLLocationManager, beacons: &NSArray<CLBeacon>, region: &CLBeaconRegion )
where Self: Sized + Message,

👎Deprecated
Available on crate features CLBeaconRegion and CLLocationManager and CLRegion only.
source

unsafe fn locationManager_rangingBeaconsDidFailForRegion_withError( &self, manager: &CLLocationManager, region: &CLBeaconRegion, error: &NSError )
where Self: Sized + Message,

👎Deprecated
Available on crate features CLBeaconRegion and CLLocationManager and CLRegion only.
source

unsafe fn locationManager_didRangeBeacons_satisfyingConstraint( &self, manager: &CLLocationManager, beacons: &NSArray<CLBeacon>, beacon_constraint: &CLBeaconIdentityConstraint )
where Self: Sized + Message,

Available on crate features CLBeaconIdentityCondition and CLBeaconIdentityConstraint and CLBeaconRegion and CLCondition and CLLocationManager only.
source

unsafe fn locationManager_didFailRangingBeaconsForConstraint_error( &self, manager: &CLLocationManager, beacon_constraint: &CLBeaconIdentityConstraint, error: &NSError )
where Self: Sized + Message,

Available on crate features CLBeaconIdentityCondition and CLBeaconIdentityConstraint and CLCondition and CLLocationManager only.
source

unsafe fn locationManager_didEnterRegion( &self, manager: &CLLocationManager, region: &CLRegion )
where Self: Sized + Message,

Available on crate features CLLocationManager and CLRegion only.
source

unsafe fn locationManager_didExitRegion( &self, manager: &CLLocationManager, region: &CLRegion )
where Self: Sized + Message,

Available on crate features CLLocationManager and CLRegion only.
source

unsafe fn locationManager_didFailWithError( &self, manager: &CLLocationManager, error: &NSError )
where Self: Sized + Message,

Available on crate feature CLLocationManager only.
source

unsafe fn locationManager_monitoringDidFailForRegion_withError( &self, manager: &CLLocationManager, region: Option<&CLRegion>, error: &NSError )
where Self: Sized + Message,

Available on crate features CLLocationManager and CLRegion only.
source

unsafe fn locationManager_didChangeAuthorizationStatus( &self, manager: &CLLocationManager, status: CLAuthorizationStatus )
where Self: Sized + Message,

👎Deprecated
Available on crate feature CLLocationManager only.
source

unsafe fn locationManagerDidChangeAuthorization( &self, manager: &CLLocationManager )
where Self: Sized + Message,

Available on crate feature CLLocationManager only.
source

unsafe fn locationManager_didStartMonitoringForRegion( &self, manager: &CLLocationManager, region: &CLRegion )
where Self: Sized + Message,

Available on crate features CLLocationManager and CLRegion only.
source

unsafe fn locationManagerDidPauseLocationUpdates( &self, manager: &CLLocationManager )
where Self: Sized + Message,

Available on crate feature CLLocationManager only.
source

unsafe fn locationManagerDidResumeLocationUpdates( &self, manager: &CLLocationManager )
where Self: Sized + Message,

Available on crate feature CLLocationManager only.
source

unsafe fn locationManager_didFinishDeferredUpdatesWithError( &self, manager: &CLLocationManager, error: Option<&NSError> )
where Self: Sized + Message,

Available on crate feature CLLocationManager only.
source

unsafe fn locationManager_didVisit( &self, manager: &CLLocationManager, visit: &CLVisit )
where Self: Sized + Message,

Available on crate features CLLocationManager and CLVisit only.

Trait Implementations§

source§

impl ProtocolType for dyn CLLocationManagerDelegate

source§

const NAME: &'static str = "CLLocationManagerDelegate"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn CLLocationManagerDelegate

Implementations on Foreign Types§

source§

impl<T> CLLocationManagerDelegate for ProtocolObject<T>

Implementors§