Lenguaje

JniType Clase

Definición

public sealed class JniType : IDisposable
type JniType = class
    interface IDisposable
Herencia
JniType
Implementaciones

Comentarios

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Constructores

Nombre Description
JniType(JniObjectReference, JniObjectReferenceOptions)
JniType(ReadOnlySpan<Byte>)

Crea un JniType objeto a partir de un intervalo de nombres de clase UTF-8 terminado en null. Use con "java/lang/Object"u8 literales para evitar la sobrecarga de serialización de cadenas.

JniType(String)

Propiedades

Nombre Description
Name
PeerReference

Métodos

Nombre Description
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()

Se aplica a