Android.OS.Looper.Quit Method
Quits the looper.

Syntax

[Android.Runtime.Register("quit", "()V", "GetQuitHandler")]
public virtual void Quit ()

See Also

Looper.QuitSafely

Remarks

Quits the looper.

Causes the Looper.Loop method to terminate without processing any more messages in the message queue.

Any attempt to post messages to the queue after the looper is asked to quit will fail. For example, the Handler.SendMessage(Message) method will return false.

Using this method may be unsafe because some messages may not be delivered before the looper terminates. Consider using Looper.QuitSafely instead to ensure that all pending work is completed in an orderly manner.

[Android Documentation]

Requirements

Namespace: Android.OS
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1