Langue

JniType Classe

Définition

public sealed class JniType : IDisposable
type JniType = class
    interface IDisposable
Héritage
JniType
Implémente

Remarques

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

Constructeurs

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

Crée une JniType étendue de nom de classe UTF-8 terminée par null. Utiliser avec "java/lang/Object"u8 des littéraux pour éviter la surcharge de marshaling de chaînes.

JniType(String)

Propriétés

Nom Description
Name
PeerReference

Méthodes

Nom 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()

S’applique à