Protocols
The following protocols are available globally.
-
Defines the call-backs which Point SDK makes to inform the Application of Bluedot service level events.
Assign your own implementation of this protocol to the
See moreBDLocationManager.bluedotServiceDelegate
property of the sharedBDLocationManager
instance, to handle Bluedot service level related callbacks.Declaration
Objective-C
@protocol BDPBluedotServiceDelegate <NSObject>
Swift
protocol BDPBluedotServiceDelegate : NSObjectProtocol
-
An object which may be deep copied.
Whereas the NSCopying Protocol is typically used to define shallow copying; “BDPDeepCopy” specifies a copying method that must return a deep-copy. That is, an entirely new object graph which is identical to the receiver and its referenced objects.
There may be application specific exceptions to this definition, for example where those referenced objects are singletons.
See
http://en.wikipedia.org/wiki/Object_copy For a fuller explanation of deep vs. shallow copyingDeclaration
Objective-C
@protocol BDPDeepCopy <NSObject>
Swift
protocol BDPDeepCopy : NSObjectProtocol
-
Defines the call-backs which Point SDK makes to inform the Application of Geotriggering events.
Assign your own implementation of this protocol to the
See moreBDLocationManager.geoTriggeringEventDelegate
property of the sharedBDLocationManager
instance, to handle Geotriggering related callbacks.Declaration
Objective-C
@protocol BDPGeoTriggeringEventDelegate <NSObject>
Swift
protocol BDPGeoTriggeringEventDelegate : NSObjectProtocol
-
Geometrical methods required for implementation of a concrete geometry class.
See moreDeclaration
Objective-C
@protocol BDPGeometry <BDPDeepCopy>
Swift
protocol BDPGeometry : BDPDeepCopy
-
Any object can be Json-serialized to a Dictionary of Foundation objects
See moreDeclaration
Objective-C
@protocol BDPJSONSerializable <NSObject>
Swift
protocol BDPJSONSerializable : NSObjectProtocol
-
Any object can be Json-deserialized and instantiated from a Json Dictionary
See moreDeclaration
Objective-C
@protocol BDPJSONDeserializable <NSObject>
Swift
protocol BDPJSONDeserializable : NSObjectProtocol
-
Any object having a human-readable name and description, typically for display in a User Interface.
See moreDeclaration
Objective-C
@protocol BDPNamedDescribed
Swift
protocol BDPNamedDescribed
-
Objects having an inherent
See moreBDGeometry
“geometry”.Declaration
Objective-C
@protocol BDPSpatialObject <NSObject>
Swift
protocol BDPSpatialObject : NSObjectProtocol
-
Objects having an inherent
See moreBDGeometry
“geometry”.Declaration
Objective-C
@protocol BDPSpatialObjectInfo <BDPSpatialObject>
Swift
protocol BDPSpatialObjectInfo : BDPSpatialObject
-
Defines the call-backs which Point SDK makes to inform the Application of Tempo events.
Assign your own implementation of this protocol to the
See moreBDLocationManager.tempoTrackingDelegate
property of the sharedBDLocationManager
instance, to handle Tempo related callbacks.Declaration
Objective-C
@protocol BDPTempoTrackingDelegate <NSObject>
Swift
protocol BDPTempoTrackingDelegate : NSObjectProtocol
-
Any object whose state can be validated for correctness.
Typically this will be implemented only by data-model classes.
See moreDeclaration
Objective-C
@protocol BDPValidatable <NSObject>
Swift
protocol BDPValidatable : NSObjectProtocol
-
Protocol to convert an object to a Json string
See moreDeclaration
Swift
@objc public protocol JsonString : NSObjectProtocol
-
An event in Bluedot SDK. Could be a GeoTriggerEvent (e.g.
See moreFenceEntered
,FenceExited
), a TempoEvent or a LifecycleEventDeclaration
Swift
@objc public protocol Event : NSObjectProtocol
-
A GeoTrigger event, e.g.
See moreFenceEntered
orFenceExited
.Declaration
Swift
@objc public protocol TriggerEvent : Event, NSCopying