Linguaggio

HandlerThread Costruttori

Definizione

Overload

Nome Descrizione
HandlerThread(String)

Costruisce un HandlerThread.

HandlerThread(IntPtr, JniHandleOwnership)

Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.

HandlerThread(String, Int32)

Costruisce un HandlerThread.

HandlerThread(String)

Costruisce un 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

Parametri

name
String

Nome del thread.

Attributi

Commenti

per android.os.HandlerThread.HandlerThread(java.lang.String).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

HandlerThread(IntPtr, JniHandleOwnership)

Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.

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

Parametri

javaReference
IntPtr

nativeint

Oggetto IntPtrcontenente un riferimento all'oggetto JNI (Native Interface) Java.

transfer
JniHandleOwnership

Oggetto JniHandleOwnershipche indica come gestire javaReference

Commenti

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a

HandlerThread(String, Int32)

Costruisce un 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

Parametri

name
String

nome

priority
Int32

Priorità in cui eseguire il thread. Il valore specificato deve essere da android.os.Process e non da java.lang.Thread.

Attributi

Commenti

Costruisce un HandlerThread.

per android.os.HandlerThread.HandlerThread(java.lang.String, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a