58 static int poll(timespan_ms_t timeout);
62 inline ALooper* getHandle()
void removeDescriptor(filedesc_t fd)
Remove a file descriptor from this looper's list of file descriptors to monitor.
Definition: Looper.cpp:49
int filedesc_t
A file descriptor.
Definition: Blip.hpp:36
void addOutputDescriptor(filedesc_t fd, uint_t id)
Add an output descriptor to the looper's list of file descriptors to monitor.
Definition: Looper.cpp:41
~Looper()
Destructor.
Definition: Looper.cpp:26
void interrupt()
Interrupt the Looper.
Definition: Looper.cpp:57
Looper()
Construct a new Looper for the calling thread.
Definition: Looper.cpp:18
WAV file format details at: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/.
Definition: AccelerometerSensorEvent.cpp:3
void addInputDescriptor(filedesc_t fd, uint_t id)
Add an input descriptor to the looper's list of file descriptors to monitor.
Definition: Looper.cpp:33
An abstract base class for all "native" (C++) Android activities.
Definition: NativeActivity.hpp:71
static int poll(timespan_ms_t timeout)
Poll the Looper, returning if any of the monitored file descriptors are ready.
Definition: Looper.cpp:66
Low-level Android event looper.
Definition: Looper.hpp:11