Language

JniType クラス

定義

public sealed class JniType : IDisposable
type JniType = class
    interface IDisposable
継承
JniType
実装

注釈

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

コンストラクター

名前 説明
JniType(JniObjectReference, JniObjectReferenceOptions)
JniType(ReadOnlySpan<Byte>)

null で終わる UTF-8 クラス名スパンから JniType を作成します。 文字列マーシャリングのオーバーヘッドを回避するには、 "java/lang/Object"u8 リテラルと共に使用します。

JniType(String)

プロパティ

名前 説明
Name
PeerReference

メソッド

名前 説明
AllocObject()
DefineClass(String, JniObjectReference, Byte[])
Dispose()
GetCachedConstructor(JniMethodInfo, ReadOnlySpan<Byte>)
GetCachedConstructor(JniMethodInfo, String)
GetCachedInstanceField(JniFieldInfo, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetCachedInstanceField(JniFieldInfo, String, String)
GetCachedInstanceMethod(JniMethodInfo, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetCachedInstanceMethod(JniMethodInfo, String, String)
GetCachedJniType(JniType, ReadOnlySpan<Byte>)
GetCachedJniType(JniType, String)
GetCachedStaticField(JniFieldInfo, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetCachedStaticField(JniFieldInfo, String, String)
GetCachedStaticMethod(JniMethodInfo, ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetCachedStaticMethod(JniMethodInfo, String, String)
GetConstructor(ReadOnlySpan<Byte>)
GetConstructor(String)
GetInstanceField(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetInstanceField(String, String)
GetInstanceMethod(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetInstanceMethod(String, String)
GetStaticField(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetStaticField(String, String)
GetStaticMethod(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)
GetStaticMethod(String, String)
GetSuperclass()
IsAssignableFrom(JniType)
IsInstanceOfType(JniObjectReference)
NewObject(JniMethodInfo, JniArgumentValue*)
RegisterNativeMethods(JniNativeMethodRegistration[])
RegisterWithRuntime()
ToString()
TryParse(String, JniType)
UnregisterNativeMethods()

適用対象