android :: Bundle :: array_of_int
Array[Int]
value corresponding to the given keyReturns the null
if none or if it's the wrong value type
# Retrieves the `Array[Int]` value corresponding to the given key
# Returns the `null` if none or if it's the wrong value type
fun array_of_int(key: String): nullable Array[Int]
do
sys.jni_env.push_local_frame(1)
var return_value = native_bundle.get_long_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:629,2--640,4