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 }
  • Contains the details to specify the position of the geofence. Can be either a polygon or a circle. Including both will return a validation error.

    Each geofence polygon can have a maximum of 1,000 vertices.

    Declaration

    Objective-C

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

    Swift

    var geometry: AWSLocationGeofenceGeometry? { get set }