AWSLocationForecastGeofenceEventsRequest

Objective-C

@interface AWSLocationForecastGeofenceEventsRequest

Swift

class AWSLocationForecastGeofenceEventsRequest
  • The name of the geofence collection.

    Declaration

    Objective-C

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

    Swift

    var collectionName: String? { get set }
  • The device’s state, including current position and speed.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSLocationForecastGeofenceEventsDeviceState *_Nullable deviceState;

    Swift

    var deviceState: AWSLocationForecastGeofenceEventsDeviceState? { get set }
  • The distance unit used for the NearestDistance property returned in a forecasted event. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

    Default Value: Kilometers

    Declaration

    Objective-C

    @property (nonatomic) AWSLocationDistanceUnit distanceUnit;

    Swift

    var distanceUnit: AWSLocationDistanceUnit { get set }
  • An optional limit for the number of resources returned in a single call.

    Default value: 20

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable maxResults;

    Swift

    var maxResults: NSNumber? { get set }
  • The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.

    Default value: null

    Declaration

    Objective-C

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

    Swift

    var nextToken: String? { get set }
  • The speed unit for the device captured by the device state. The measurement system must match for DistanceUnit and SpeedUnit; if Kilometers is specified for DistanceUnit, then SpeedUnit must be KilometersPerHour.

    Default Value: KilometersPerHour.

    Declaration

    Objective-C

    @property (nonatomic) AWSLocationSpeedUnit speedUnit;

    Swift

    var speedUnit: AWSLocationSpeedUnit { get set }
  • Specifies the time horizon in minutes for the forecasted events.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable timeHorizonMinutes;

    Swift

    var timeHorizonMinutes: NSNumber? { get set }