Enum android_looper::LooperPrepareOpts
[−]
[src]
pub enum LooperPrepareOpts { AllowNonCallbacks, None, }
Option for for ALooper_prepare()
.
Variants
AllowNonCallbacks |
Option for ALooper_prepare: this looper will accept calls to ALooper_addFd() that do not have a callback (that is provide NULL for the callback). In this case the caller of ALooper_pollOnce() or ALooper_pollAll() MUST check the return from these functions to discover when data is available on such fds and process it. | |
None |
|