Lingua

JniEnvironment.InstanceMethods.GetMethodID Metodo

Definizione

Overload

Nome Descrizione
GetMethodID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Cerca un ID del metodo di istanza JNI usando intervalli di nome e firma UTF-8 con terminazione Null. Usare con "methodName"u8 valori letterali per evitare il marshalling delle stringhe.

GetMethodID(JniObjectReference, String, String)

GetMethodID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Cerca un ID del metodo di istanza JNI usando intervalli di nome e firma UTF-8 con terminazione Null. Usare con "methodName"u8 valori letterali per evitare il marshalling delle stringhe.

public static Java.Interop.JniMethodInfo GetMethodID(Java.Interop.JniObjectReference type, ReadOnlySpan<byte> name, ReadOnlySpan<byte> signature);
static member GetMethodID : Java.Interop.JniObjectReference * ReadOnlySpan<byte> * ReadOnlySpan<byte> -> Java.Interop.JniMethodInfo

Parametri

signature
ReadOnlySpan<Byte>

Valori restituiti

Si applica a

GetMethodID(JniObjectReference, String, String)

public static Java.Interop.JniMethodInfo GetMethodID(Java.Interop.JniObjectReference type, string name, string signature);
static member GetMethodID : Java.Interop.JniObjectReference * string * string -> Java.Interop.JniMethodInfo

Parametri

name
String
signature
String

Valori restituiti

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