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§
unsafe fn locationManager_didUpdateToLocation_fromLocation( &self, manager: &CLLocationManager, new_location: &CLLocation, old_location: &CLLocation, )
👎Deprecated: Implement -locationManager:didUpdateLocations: instead
Available on crate features
CLLocation and CLLocationManager only.unsafe fn locationManager_didUpdateLocations( &self, manager: &CLLocationManager, locations: &NSArray<CLLocation>, )
Available on crate features
CLLocation and CLLocationManager only.unsafe fn locationManager_didUpdateHeading( &self, manager: &CLLocationManager, new_heading: &CLHeading, )
Available on crate features
CLHeading and CLLocationManager only.unsafe fn locationManagerShouldDisplayHeadingCalibration( &self, manager: &CLLocationManager, ) -> bool
Available on crate feature
CLLocationManager only.unsafe fn locationManager_didDetermineState_forRegion( &self, manager: &CLLocationManager, state: CLRegionState, region: &CLRegion, )
Available on crate features
CLLocationManager and CLRegion only.unsafe fn locationManager_didRangeBeacons_inRegion( &self, manager: &CLLocationManager, beacons: &NSArray<CLBeacon>, region: &CLBeaconRegion, )
👎Deprecated
Available on crate features
CLBeaconRegion and CLLocationManager and CLRegion only.unsafe fn locationManager_rangingBeaconsDidFailForRegion_withError( &self, manager: &CLLocationManager, region: &CLBeaconRegion, error: &NSError, )
👎Deprecated
Available on crate features
CLBeaconRegion and CLLocationManager and CLRegion only.unsafe fn locationManager_didRangeBeacons_satisfyingConstraint( &self, manager: &CLLocationManager, beacons: &NSArray<CLBeacon>, beacon_constraint: &CLBeaconIdentityConstraint, )
Available on crate features
CLBeaconIdentityCondition and CLBeaconIdentityConstraint and CLBeaconRegion and CLCondition and CLLocationManager only.unsafe fn locationManager_didFailRangingBeaconsForConstraint_error( &self, manager: &CLLocationManager, beacon_constraint: &CLBeaconIdentityConstraint, error: &NSError, )
Available on crate features
CLBeaconIdentityCondition and CLBeaconIdentityConstraint and CLCondition and CLLocationManager only.unsafe fn locationManager_didEnterRegion( &self, manager: &CLLocationManager, region: &CLRegion, )
Available on crate features
CLLocationManager and CLRegion only.unsafe fn locationManager_didExitRegion( &self, manager: &CLLocationManager, region: &CLRegion, )
Available on crate features
CLLocationManager and CLRegion only.unsafe fn locationManager_didFailWithError( &self, manager: &CLLocationManager, error: &NSError, )
Available on crate feature
CLLocationManager only.unsafe fn locationManager_monitoringDidFailForRegion_withError( &self, manager: &CLLocationManager, region: Option<&CLRegion>, error: &NSError, )
Available on crate features
CLLocationManager and CLRegion only.unsafe fn locationManager_didChangeAuthorizationStatus( &self, manager: &CLLocationManager, status: CLAuthorizationStatus, )
👎Deprecated
Available on crate feature
CLLocationManager only.unsafe fn locationManagerDidChangeAuthorization( &self, manager: &CLLocationManager, )
Available on crate feature
CLLocationManager only.unsafe fn locationManager_didStartMonitoringForRegion( &self, manager: &CLLocationManager, region: &CLRegion, )
Available on crate features
CLLocationManager and CLRegion only.unsafe fn locationManagerDidPauseLocationUpdates( &self, manager: &CLLocationManager, )
Available on crate feature
CLLocationManager only.unsafe fn locationManagerDidResumeLocationUpdates( &self, manager: &CLLocationManager, )
Available on crate feature
CLLocationManager only.unsafe fn locationManager_didFinishDeferredUpdatesWithError( &self, manager: &CLLocationManager, error: Option<&NSError>, )
Available on crate feature
CLLocationManager only.unsafe fn locationManager_didVisit( &self, manager: &CLLocationManager, visit: &CLVisit, )
Available on crate features
CLLocationManager and CLVisit only.