Protocols

The following protocols are available globally.

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

    See more

    Declaration

    Objective-C

    @protocol BDPAuthenticationStateProvider <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>
  • @brief Geometrical methods required for implementation of a concrete geometry class. @copyright Bluedot Innovation

    See more

    Declaration

    Objective-C

    @protocol BDPGeometry <BDPDeepCopy>
  • @brief 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 @ref BDLocationManager instance, to handle location related callbacks.

    Callbacks inform the application when:

    • …new Zones have been received from Point Access
    • …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
  • @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>
  • @brief Defines a delegate for handling Point SDK‘s session related callbacks

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

    Authentication state changes are most simply observed via the KVO-compliant BDLocationManager.sessionDelegate.authenticationState property.

    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.

    @copyright Bluedot Innovation

    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 Point Access */
    @property (copy,readonly) NSString  *name;
    
    /** The description of this object that was entered into Point Access */
    @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 Point Access */
    @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>
  • @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>