AWSLocationPutGeofenceRequest

Objective-C

@interface AWSLocationPutGeofenceRequest

Swift

class AWSLocationPutGeofenceRequest
  • The geofence collection to store the geofence in.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable collectionName;

    Swift

    var collectionName: String? { get set }
  • An identifier for the geofence. For example, ExampleGeofence-1.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable geofenceId;

    Swift

    var geofenceId: String? { get set }
  • Associates one of more properties with the geofence. A property is a key-value pair stored with the geofence and added to any geofence event triggered with that geofence.

    Format: "key" : "value"

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable geofenceProperties;

    Swift

    var geofenceProperties: [String : String]? { get set }
  • Contains the details to specify the position of the geofence. Can be a polygon, a circle or a polygon encoded in Geobuf format. Including multiple selections will return a validation error.

    The geofence polygon format supports a maximum of 1,000 vertices. The Geofence Geobuf format supports a maximum of 100,000 vertices.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLocationGeofenceGeometry *_Nullable geometry;

    Swift

    var geometry: AWSLocationGeofenceGeometry? { get set }