Instance Method

suspend()

Suspends the listener.

Declaration

func suspend()

Discussion

As you cannot invalidate a suspended listener, every call to suspend() that you make must be balanced by a call to resume().