NMAConstantRetryPolicy

@objc
public class NMAConstantRetryPolicy : NSObject, NMARetryPolicy

The operation will be retried periodically with a maximum number of tries.

  • The number of maximum retry counts.

    Declaration

    Swift

    @objc
    public let maxRetries: Int
  • Time interval of the constant delay in seconds.

    Declaration

    Swift

    @objc
    public let delayInSeconds: TimeInterval
  • This is the default initializer for the NMAConstantRetryPolicy.

    Declaration

    Swift

    @objc
    public init(maxRetries: Int, delayInSeconds: TimeInterval)

    Parameters

    maxRetries

    the number of maximum retry counts.

    delayInSeconds

    time interval of the constant delay in seconds.

  • Declaration

    Swift

    public required init?(dictionary: [String : Any])