android :: Bundle :: array_of_float
Array[Float]
value corresponding to the given keyReturns the null
if none or if it's the wrong value type
# Retrieves the `Array[Float]` value corresponding to the given key
# Returns the `null` if none or if it's the wrong value type
fun array_of_float(key: String): nullable Array[Float]
do
sys.jni_env.push_local_frame(1)
var return_value = native_bundle.get_double_array(key.to_java_string)
sys.jni_env.pop_local_frame
if return_value.is_empty then return null
return return_value
end
lib/android/bundle/bundle.nit:603,2--614,4