언어

JniEnvironment.InstanceMethods.GetMethodID 메서드

정의

오버로드

속성 Description
GetMethodID(JniObjectReference, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

null로 종료된 UTF-8 이름 및 서명 범위를 사용하여 JNI 인스턴스 메서드 ID를 조회합니다. 문자열 마샬링 오버헤드를 방지하려면 리터럴과 함께 "methodName"u8 사용합니다.

GetMethodID(JniObjectReference, String, String)

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

null로 종료된 UTF-8 이름 및 서명 범위를 사용하여 JNI 인스턴스 메서드 ID를 조회합니다. 문자열 마샬링 오버헤드를 방지하려면 리터럴과 함께 "methodName"u8 사용합니다.

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

매개 변수

signature
ReadOnlySpan<Byte>

반품

적용 대상

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

매개 변수

name
String
signature
String

반품

설명

이 페이지의 일부는 Android 오픈 소스 프로젝트에서 만들고 공유하고 Creative Commons 2.5 특성 라이선스에 설명된 용어에 따라 사용되는 작업을 기반으로 하는 수정 사항입니다.

적용 대상