Type Aliases

The following type aliases are available globally.

  • Declaration

    Swift

    public typealias AlertEventListener = MapstedAlertDelegate
  • Declaration

    Swift

    public typealias DayAndTime = (day: Int, hour: Int, minute: Int)
  • A dictionary of parameters to apply to a URLRequest.

    Declaration

    Swift

    public typealias Parameters = [String : Any]
  • A closure executed when the RequestRetrier determines whether a Request should be retried or not.

    Declaration

    Swift

    public typealias RequestRetryCompletion = (_ shouldRetry: Bool, _ timeDelay: TimeInterval) -> Void
  • A dictionary of headers to apply to a URLRequest.

    Declaration

    Swift

    public typealias HTTPHeaders = [String : String]