다음을 통해 공유


HandlerThread Constructors

Definition

Overloads

HandlerThread(String)

Constructs a HandlerThread.

HandlerThread(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

HandlerThread(String, Int32)

Constructs a HandlerThread.

HandlerThread(String)

Constructs a HandlerThread.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public HandlerThread (string? name);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.OS.HandlerThread : string -> Android.OS.HandlerThread

Parameters

name
String
Attributes

Remarks

Java documentation for android.os.HandlerThread.HandlerThread(java.lang.String, int).

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

HandlerThread(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected HandlerThread (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.HandlerThread : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.HandlerThread

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

HandlerThread(String, Int32)

Constructs a HandlerThread.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public HandlerThread (string? name, int priority);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Android.OS.HandlerThread : string * int -> Android.OS.HandlerThread

Parameters

name
String

name

priority
Int32

The priority to run the thread at. The value supplied must be from android.os.Process and not from java.lang.Thread.

Attributes

Remarks

Constructs a HandlerThread.

Java documentation for android.os.HandlerThread.HandlerThread(java.lang.String, int).

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