android :: Intent :: add_extra_int
# Adds extra data corresponding to `int` java type
# Returns `self` allowing fluent programming
# *Be aware of possible integer overflow as Nit `Int` corresponds to*
# *java `long` and the expected value is a java `int`*
# Consider using add_extra_long instead
fun add_extra_int(name: String, value: Int): Intent
do
sys.jni_env.push_local_frame(1)
intent.add_extra_int(name.to_java_string, value)
sys.jni_env.pop_local_frame
return self
end
lib/android/intent/intent_api10.nit:1074,2--1085,4