android :: Intent :: extra_char_array
Array[Char]
extra stored as Java char[]
with thecorresponding name
FIXME: Java's char
are encoded on 16-bits whereas Nit's are on 8-bits.
# Retrieves the `Array[Char]` extra stored as Java `char[]` with the
# corresponding name
# FIXME: Java's `char` are encoded on 16-bits whereas Nit's are on 8-bits.
fun extra_char_array(name: String): Array[Char]
do
sys.jni_env.push_local_frame(1)
var nit_array = intent.char_array_extra(name.to_java_string)
sys.jni_env.pop_local_frame
return nit_array
end
lib/android/intent/intent_api10.nit:815,2--824,4