BDZoneInfo

Objective-C

@interface BDZoneInfo : NSObject

Swift

class BDZoneInfo : NSObject

Contains information about a Zone, including the set of BDFenceInfo “fences” that comprise it.

A set of BDZoneInfo objects will be delivered to your application’s BDPLocationDelegate at the time of their download from the Bluedot Point web-service.

  • The name of this Zone that was entered into Canvas

    Declaration

    Objective-C

    @property (copy, readonly) NSString *_Nonnull name;

    Swift

    var name: String { get }
  • The description of this Zone that was entered into Canvas

    Declaration

    Objective-C

    @property (copy, readonly) NSString *_Nonnull description;

    Swift

    var description: String { get }
  • ID
    • A unique GUID to identify this Zone by. *
    • This is permanent and may be used to identify specific Zones created in the Canvas web-interface, from your client application.

    Declaration

    Objective-C

    @property (copy, readonly) NSString *_Nonnull ID;

    Swift

    var id: String { get }
  • The set of BDFenceInfo fences included in this Zone.

    Declaration

    Objective-C

    @property (copy, readonly) NSSet<BDFenceInfo *> *_Nonnull fences;

    Swift

    var fences: Set<BDFenceInfo> { get }
  • Whether CheckOuts should be generated for any CheckIns to this Zone.

    Declaration

    Objective-C

    @property (readonly) BOOL checkOut;

    Swift

    var checkOut: Bool { get }
  • Custom Data included in this zone

    Declaration

    Objective-C

    @property (copy, readonly) NSDictionary<NSString *, NSString *> *_Nonnull customData;

    Swift

    var customData: [String : String] { get }
  • The Destination (aka Store) that this zone is linked with.

    Declaration

    Objective-C

    @property (readonly, nullable) Destination *destination;

    Swift

    var destination: Destination? { get }