Idioma

JniEnvironment.InstanceMethods.GetMethodID Método

Definição

Sobrecargas

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

Pesquisa uma ID de método de instância JNI usando o nome UTF-8 encerrado em nulo e intervalos de assinatura. Use com "methodName"u8 literais para evitar sobrecarga de marshalling de cadeia de caracteres.

GetMethodID(JniObjectReference, String, String)

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

Pesquisa uma ID de método de instância JNI usando o nome UTF-8 encerrado em nulo e intervalos de assinatura. Use com "methodName"u8 literais para evitar sobrecarga de marshalling de cadeia de caracteres.

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

Parâmetros

signature
ReadOnlySpan<Byte>

Retornos

Aplica-se 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

Parâmetros

name
String
signature
String

Retornos

Comentários

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usadas de acordo com os termos descritos na Licença de Atribuição Creative Commons 2.5.

Aplica-se a