app :: App :: poll_looper_pause
ALooper_pollOnce
to retrieve at most one event and callback the application
# Call the `ALooper_pollOnce` to retrieve at most one event and callback the application
fun poll_looper_pause(timeout_ms: Int) import handle_looper_event `{
int event;
void* source;
int ident = ALooper_pollOnce(timeout_ms, NULL, &event, &source);
if (ident >= 0) {
App_handle_looper_event(self, ident, event, source);
}
`}
lib/android/native_app_glue.nit:243,2--251,3