android :: Intent :: extra_char
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 `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(name: String, def_value: Char): Char
do
sys.jni_env.push_local_frame(1)
var nit_char = intent.char_extra(name.to_java_string, def_value)
sys.jni_env.pop_local_frame
return nit_char
end
lib/android/intent/intent_api10.nit:826,2--835,4