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 { ... }
}
๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate feature CoreLocation 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 CoreLocation_CLLocation and CoreLocation_CLLocationManager only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocation and CoreLocation_CLLocationManager and Foundation_NSArray only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLHeading and CoreLocation_CLLocationManager only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate feature CoreLocation_CLLocationManager only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and CoreLocation_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 CoreLocation_CLBeacon and CoreLocation_CLBeaconRegion and CoreLocation_CLLocationManager and Foundation_NSArray only.
Source

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

๐Ÿ‘ŽDeprecated
Available on crate features CoreLocation_CLBeaconRegion and CoreLocation_CLLocationManager and Foundation_NSError only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLBeacon and CoreLocation_CLBeaconIdentityConstraint and CoreLocation_CLLocationManager and Foundation_NSArray only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLBeaconIdentityConstraint and CoreLocation_CLLocationManager and Foundation_NSError only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and CoreLocation_CLRegion only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and CoreLocation_CLRegion only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and Foundation_NSError only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and CoreLocation_CLRegion and Foundation_NSError only.
Source

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

๐Ÿ‘ŽDeprecated
Available on crate feature CoreLocation_CLLocationManager only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate feature CoreLocation_CLLocationManager only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and CoreLocation_CLRegion only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate feature CoreLocation_CLLocationManager only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate feature CoreLocation_CLLocationManager only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and Foundation_NSError only.
Source

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

๐Ÿ‘ŽDeprecated: icrate::CoreLocation has been moved to objc2-core-location
Available on crate features CoreLocation_CLLocationManager and CoreLocation_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ยง