TokenWatcher Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| Nome | Descrizione |
|---|---|
| TokenWatcher(Handler, String) |
Costruire TokenWatcher |
| TokenWatcher(IntPtr, JniHandleOwnership) |
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime. |
TokenWatcher(Handler, String)
Costruire TokenWatcher
[Android.Runtime.Register(".ctor", "(Landroid/os/Handler;Ljava/lang/String;)V", "")]
public TokenWatcher(Android.OS.Handler? h, string? tag);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Handler;Ljava/lang/String;)V", "")>]
new Android.OS.TokenWatcher : Android.OS.Handler * string -> Android.OS.TokenWatcher
Parametri
- h
- Handler
Gestore da chiamare #acquired e #released attivare. Se non ti interessa, chiamalo come questo, anche se il thread dovrà essere un thread Looper.
new TokenWatcher(new Handler())
- tag
- String
Tag di debug per tokenWatcher
- Attributi
Commenti
Costruire TokenWatcher
per android.os.TokenWatcher.TokenWatcher(android.os.Handler, 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
TokenWatcher(IntPtr, JniHandleOwnership)
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.
protected TokenWatcher(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.OS.TokenWatcher : nativeint * Android.Runtime.JniHandleOwnership -> Android.OS.TokenWatcher
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.