Protocols

The following protocols are available globally.

  • Deprecated

    First deprecated in 15.4.0 - This will be removed in future version

    @brief Describes an object which can provide an authentication state. Currently @ref BDLocationManager(BDPointSDK).

    See more

    Declaration

    Objective-C

    @protocol BDPAuthenticationStateProvider <NSObject>
  • 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>
  • @brief An object which may be deep copied.

    Whereas the NSCopying Protocol is typically used to define shallow copying; @ref 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>
  • 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>
  • @brief Geometrical methods required for implementation of a concrete geometry class. @copyright Bluedot Innovation

    See more

    Declaration

    Objective-C

    @protocol BDPGeometry <BDPDeepCopy>
  • @brief Any object can be Json-serialized to a Dictionary of Foundation objects @copyright Bluedot Innovation

    See more

    Declaration

    Objective-C

    @protocol BDPJSONSerializable <NSObject>
  • @brief Any object can be Json-deserialized and instantiated from a Json Dictionary @copyright Bluedot Innovation

    See more

    Declaration

    Objective-C

    @protocol BDPJSONDeserializable <NSObject>
  • Deprecated

    First deprecated in 15.4.0. Please refer to each deprecated methods for more information

    Defines the call-backs which Point SDK makes to inform the Application of location-related events.

    Assign your own implementation of this protocol to the @ref BDLocationManager#locationDelegate “locationDelegate” property of the shared BDLocationManager instance, to handle location related callbacks.

    Callbacks inform the application when:

    • …new Zones have been received from Canvas
    • …the user has triggered a Custom Notification action
    See more

    Declaration

    Objective-C

    @protocol BDPLocationDelegate <NSObject>
  • @brief Any object which can return a MapKit shape representing its inherent geometry.

    This is implemented by the @ref BDBoundingBox “box”, @ref BDCircle “circle”, @ref BDPolygon “polygon” and @ref BDLineString “line-string” geometries, to assist with their rendering in MapKit map views.

    See more

    Declaration

    Objective-C

    @protocol BDPMKShape <NSObject>
  • @brief Any object having a human-readable name and description, typically for display in a User Interface. @copyright Bluedot Innovation

    See more

    Declaration

    Objective-C

    @protocol BDPNamedDescribed
  • Deprecated

    First deprecated in 15.4.0 - Features migrated to BDLocationManager.

    @brief Implement this protocol in your UIApplicationDelegate to enable restart prompts to the user, after the App terminates.

    Implement this protocol in your UIApplicationDelegate to allow an app to be restarted should it be no longer running on the device; the user is given the option to restart the application through a local notification with an action to restart.

    The title of the banner or alert (depending on user settings on the device) must be provided by the app implementing this protocol. The text on the action button can be set by the application implementing this protocol.

    See more

    Declaration

    Objective-C

    @protocol BDPRestartAlertDelegate <NSObject>
  • Deprecated

    First deprecated in 15.4.0 - initialization related delagate callbacks are now returned in completion callbacks. Please refer to BDLocationManager.

    Defines a delegate for handling Point SDK‘s session related callbacks

    Point SDK needs to authenticate with Canvas to function. Applications must observe the correct authentication lifecycle when using Point SDK features, as documented.

    For richer information about the authentication lifecycle, applications may optionally assign an implementation of this protocol to the sessionDelegate property of the shared `BDLocationManager instance.

    See more

    Declaration

    Objective-C

    @protocol BDPSessionDelegate <NSObject>
  • @brief Objects having an inherent @ref BDGeometry “geometry”.

    See more

    Declaration

    Objective-C

    @protocol BDPSpatialObject <NSObject>
  • Undocumented

    See more

    Declaration

    Objective-C

    @protocol BDPSpatialObjectInfo <BDPSpatialObject>
    
    /// The name of this object that was entered into Canvas
    @property (copy,readonly) NSString  *name;
    
    /// The description of this object that was entered into Canvas
    @property (copy,readonly) NSString *description;
    
    /// The description of this ID of the object
    @property (copy,readonly) NSString *ID;
    
    /// The geometry of this object that was defined in Canvas
    @property (readonly) BDGeometry *geometry;
    
    @end
  • 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>
  • @brief Any object whose state can be validated for correctness.

    Typically this will be implemented only by data-model classes. @copyright Bluedot Innovation

    See more

    Declaration

    Objective-C

    @protocol BDPValidatable <NSObject>
  • Deprecated

    First deprecated in 15.4.0 - Features migrated to BDPBluedotServiceDelegate or BDPGeoTriggeringEventDelegate

    @brief Convenience Protocol aggregating @ref BDPSessionDelegate and @ref BDPLocationDelegate.

    See

    EXAppDelegate.m from the PointSDK-SampleApp-iOS sample project, for an example of @ref BDPointDelegate implementation.

    Declaration

    Objective-C

    @protocol BDPointDelegate <BDPSessionDelegate, BDPLocationDelegate>