Table Of Contents

Previous topic

u

Next topic

util.Handler

This Page

handler

Constructor

class handler()

Methods

clear()

Calling clear prevents the handler from ever re-firing again.

isSuspended()
Returns:Boolean corresponding to whether the handler is currently suspended.
resume()

Calling this function on a handler makes it so that the handler’s associated callback can now fire in response to received messages.

suspend()

Calling suspend prevents the handler from firing again until it is resumed.