ripe / com.ripe.android.api / SizeAPI / sizeToNativeAsync

sizeToNativeAsync

open fun sizeToNativeAsync(scale: String, value: Double, gender: String, options: Map<String, Any> = HashMap()): Deferred<Map<String, Any>?>

Converts a size value from the native scale to the corresponding value in the specified scale. The available scales, genders and sizes can be obtained with the method getSizesAsync.

Parameters

scale - The scale which one wants to convert to.

value - The value which one wants to convert.

gender - The gender of the scale and value to be converted.

Return
A Deferred that will be completed with the converted value.