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 BDLocationManager.bluedotServiceDelegate property of the shared BDLocationManager instance, to handle Bluedot service level related callbacks.

    See more

    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 copying
    See more

    Declaration

    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 BDLocationManager.geoTriggeringEventDelegate property of the shared BDLocationManager instance, to handle Geotriggering related callbacks.

    See more

    Declaration

    Objective-C

    @protocol BDPGeoTriggeringEventDelegate <NSObject>

    Swift

    protocol BDPGeoTriggeringEventDelegate : NSObjectProtocol
  • Geometrical methods required for implementation of a concrete geometry class.

    See more

    Declaration

    Objective-C

    @protocol BDPGeometry <BDPDeepCopy>

    Swift

    protocol BDPGeometry : BDPDeepCopy
  • Any object can be Json-serialized to a Dictionary of Foundation objects

    See more

    Declaration

    Objective-C

    @protocol BDPJSONSerializable <NSObject>

    Swift

    protocol BDPJSONSerializable : NSObjectProtocol
  • Any object can be Json-deserialized and instantiated from a Json Dictionary

    See more

    Declaration

    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 more

    Declaration

    Objective-C

    @protocol BDPNamedDescribed

    Swift

    protocol BDPNamedDescribed
  • Objects having an inherent BDGeometry “geometry”.

    See more

    Declaration

    Objective-C

    @protocol BDPSpatialObject <NSObject>

    Swift

    protocol BDPSpatialObject : NSObjectProtocol
  • Objects having an inherent BDGeometry “geometry”.

    See more

    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 BDLocationManager.tempoTrackingDelegate property of the shared BDLocationManager instance, to handle Tempo related callbacks.

    See more

    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 more

    Declaration

    Objective-C

    @protocol BDPValidatable <NSObject>

    Swift

    protocol BDPValidatable : NSObjectProtocol
  • Protocol to convert an object to a Json string

    See more

    Declaration

    Swift

    @objc
    public protocol JsonString : NSObjectProtocol
  • An event in Bluedot SDK. Could be a GeoTriggerEvent (e.g. FenceEntered, FenceExited), a TempoEvent or a LifecycleEvent

    See more

    Declaration

    Swift

    @objc
    public protocol Event : NSObjectProtocol
  • A GeoTrigger event, e.g. FenceEnteredor FenceExited.

    See more

    Declaration

    Swift

    @objc
    public protocol TriggerEvent : Event, NSCopying