SITGeofence

Objective-C

@interface SITGeofence : SITResource

Swift

class SITGeofence : SITResource

Class containing information about a geofence

  • Name of the geofence

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSString *name;

    Swift

    var name: String { get }
  • Code of the geofence

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSString *code;

    Swift

    var code: String { get }
  • Deprecated

    Deprecated, use infoHtml instead

    Description of the geofence

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSString *description;

    Swift

    var description: String { get }
  • Additional information of the geofence in html format

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSString *infoHtml;

    Swift

    var infoHtml: String { get }
  • Id of the floor where the geofence is located

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSString *floorIdentifier;

    Swift

    var floorIdentifier: String { get }
  • Id of the building where the geofence is located

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSString *buildingIdentifier;

    Swift

    var buildingIdentifier: String { get }
  • Array of SITPoints representing the corners of the geofence

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSArray<SITPoint *> *polygonPoints;

    Swift

    var polygonPoints: [SITPoint] { get }