Protocols
The following protocols are available globally.
-
Delegate for SPSmartGeofenceManager. Use this to listen for location related callbacks.
See moreDeclaration
Objective-C
@protocol SPSmartGeofenceManagerDelegate <NSObject>Swift
protocol SPSmartGeofenceManagerDelegate : NSObjectProtocol
-
Undocumented
See moreDeclaration
Objective-C
@protocol SPSmartLocationManagerDelegate <NSObject> @optional /** Called when user's location changes. @param manager object that called this method. @param latitude current latitude of user location. @param longitude current longitude of user location. @param buildingRef buildingRef of the building where user currently is. Value is null if user is not in a building. @param floorIndex index of the floor where user currently is. Value is 0 if user is outside of a building, @param accuracy horizontal accuracy of user location in meters */ -(void)spSmartLocationManager:(SPSmartLocationManager*)manager onLocationChanged:(double)latitude longitude:(double)longitude buildingRef:(nullable NSString*)buildingRef floorIndex:(NSInteger)floorIndex accuracyM:(double)accuracy; @endSwift
protocol SPSmartLocationManagerDelegate : NSObjectProtocol
-
UserTaskDelegate to handle user task callbacks
See moreDeclaration
Objective-C
@protocol SPSmartMapUserTaskDelegate <NSObject>Swift
protocol SPSmartMapUserTaskDelegate : NSObjectProtocol
-
SPSmartMapViewDelegate
The ‘SPSmartMapViewDelegate’ protocol defines a set of optional methods that you can use to receive map-related update messages. Because many map operations require the ‘SPSmartMapViewDelegate’ class to load data asynchronously, the map view calls these methods to notify your application when specific operations complete.
See moreDeclaration
Objective-C
@protocol SPSmartMapViewDelegate <NSObject>Swift
protocol SPSmartMapViewDelegate : NSObjectProtocol
Protocols Reference