Android EventLoop for an existing Handler.
§ HandlerEventLoop()
com.choosemuse.libmuse.HandlerEventLoop.HandlerEventLoop |
( |
final Handler |
handler | ) |
|
|
inline |
Constructs a HandlerEventLoop using the provided Handler.
- Parameters
-
handler | The handler to use for the event loop. |
§ post()
void com.choosemuse.libmuse.HandlerEventLoop.post |
( |
Action |
action | ) |
|
|
inline |
Posts an action to the event loop for processing on the next pass.
- Parameters
-
action | The action to perform. |
§ postDelayed()
void com.choosemuse.libmuse.HandlerEventLoop.postDelayed |
( |
Action |
action, |
|
|
long |
delayMilliseconds |
|
) |
| |
|
inline |
Posts an action to the event loop for processing after the specified delay in milliseconds has passed.
- Parameters
-
action | The action to perform. |
delayMilliseconds | The time to wait before posting the action to the event loop for processing. |
The documentation for this class was generated from the following file: