CLLocationManagerDelegate

Trait CLLocationManagerDelegate 

Source
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.
Expand description

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. Read more
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§