HandlerThread.QuitSafely Method

Definition

Quits the handler thread's looper safely.

[Android.Runtime.Register("quitSafely", "()Z", "GetQuitSafelyHandler")]
public virtual bool QuitSafely ();
[<Android.Runtime.Register("quitSafely", "()Z", "GetQuitSafelyHandler")>]
abstract member QuitSafely : unit -> bool
override this.QuitSafely : unit -> bool

Returns

Boolean

True if the looper looper has been asked to quit or false if the thread had not yet started running.

Attributes

Remarks

Java documentation for android.os.HandlerThread.quitSafely().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to