ASTargetRate

Objective-C

@interface ASTargetRate

Swift

class ASTargetRate

Represents a transfer rate for use in a fasp session

  • Create a target rate with given units (use ASRateUnit)

    Declaration

    Objective-C

    + (nonnull instancetype)rate:(unsigned long long)rate units:(id)units;

    Swift

    convenience init(_ rate: UInt64, units: Any!)
  • Create a target rate with given units (use ASRateUnit)

    Declaration

    Objective-C

    - (nonnull instancetype)initWithRate:(unsigned long long)rate units:(id)units;

    Swift

    init(rate: UInt64, units: Any!)
  • The rate in the given units (use ASRateUnit)

    Declaration

    Objective-C

    - (unsigned long long)rateIn:(id)units;

    Swift

    func rate(in units: Any!) -> UInt64