RangeCalculator
Entry point to perform a range calculation action.
Important: This is a Public Preview API. It may be changed or removed at any time.
Functions
Link copied to clipboard
abstract fun calculateRange(rangeCalculationOptions: RangeCalculationOptions): Result<RangeCalculationResult, RangeCalculationFailure>
Synchronously calculates a range using the provided RangeCalculationOptions object. If the call succeeds, returns a RangeCalculationResult. If it fails, returns a RangeCalculationFailure.
abstract fun calculateRange(rangeCalculationOptions: RangeCalculationOptions, callback: Callback<RangeCalculationResult, RangeCalculationFailure>): Cancellable
Asynchronously calculates a range using the provided RangeCalculationOptions object and returns the calculated range in the RangeCalculationCallback.