언어

JniEnvironment.StaticFields.GetStaticFieldID 메서드

정의

오버로드

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

null로 끝나는 UTF-8 이름 및 서명 범위를 사용하여 JNI 정적 필드 ID를 조회합니다. 문자열 마샬링 오버헤드를 방지하려면 리터럴과 함께 "fieldName"u8 사용합니다.

GetStaticFieldID(JniObjectReference, String, String)

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

null로 끝나는 UTF-8 이름 및 서명 범위를 사용하여 JNI 정적 필드 ID를 조회합니다. 문자열 마샬링 오버헤드를 방지하려면 리터럴과 함께 "fieldName"u8 사용합니다.

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

매개 변수

signature
ReadOnlySpan<Byte>

반품

적용 대상

GetStaticFieldID(JniObjectReference, String, String)

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

매개 변수

name
String
signature
String

반품

설명

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

적용 대상