LibMuse 6.0.2
com.choosemuse.libmuse.HandlerEventLoop Class Reference
Inheritance diagram for com.choosemuse.libmuse.HandlerEventLoop:
com.choosemuse.libmuse.EventLoop

Public Member Functions

 HandlerEventLoop (final Handler handler)
 
void post (Action action)
 
void postDelayed (Action action, long delayMilliseconds)
 
- Public Member Functions inherited from com.choosemuse.libmuse.EventLoop
abstract void post (Action action)
 
abstract void postDelayed (Action action, long delayMilliseconds)
 

Detailed Description

Android EventLoop for an existing Handler.

Constructor & Destructor Documentation

§ HandlerEventLoop()

com.choosemuse.libmuse.HandlerEventLoop.HandlerEventLoop ( final Handler  handler)
inline

Constructs a HandlerEventLoop using the provided Handler.

Parameters
handlerThe handler to use for the event loop.

Member Function Documentation

§ post()

void com.choosemuse.libmuse.HandlerEventLoop.post ( Action  action)
inline

Posts an action to the event loop for processing on the next pass.

Parameters
actionThe 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
actionThe action to perform.
delayMillisecondsThe time to wait before posting the action to the event loop for processing.

The documentation for this class was generated from the following file: