Looper.IsCurrentThread Property

Definition

Returns true if the current thread is this looper's thread.

public virtual bool IsCurrentThread { [Android.Runtime.Register("isCurrentThread", "()Z", "GetIsCurrentThreadHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("isCurrentThread", "()Z", "GetIsCurrentThreadHandler", ApiSince=23)>]
member this.IsCurrentThread : bool

Property Value

Attributes

Remarks

Returns true if the current thread is this looper's thread.

Java documentation for android.os.Looper.isCurrentThread().

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