Język

JniRuntime.ReflectionJniTypeManager.TryRegisterNativeMembers Method

Definition

Overloads

TryRegisterNativeMembers(JniType, Type, ReadOnlySpan<Char>)

protected bool TryRegisterNativeMembers(Java.Interop.JniType nativeClass, Type type, ReadOnlySpan<char> methods);
member this.TryRegisterNativeMembers : Java.Interop.JniType * Type * ReadOnlySpan<char> -> bool

Parameters

nativeClass
JniType
type
Type
methods
ReadOnlySpan<Char>

Returns

Applies to

TryRegisterNativeMembers(JniType, Type, String)

Caution

Use RegisterNativeMembers(JniType, Type, ReadOnlySpan<char>)

[System.Obsolete("Use RegisterNativeMembers(JniType, Type, ReadOnlySpan<char>)")]
protected bool TryRegisterNativeMembers(Java.Interop.JniType nativeClass, Type type, string? methods);
[<System.Obsolete("Use RegisterNativeMembers(JniType, Type, ReadOnlySpan<char>)")>]
member this.TryRegisterNativeMembers : Java.Interop.JniType * Type * string -> bool

Parameters

nativeClass
JniType
type
Type
methods
String

Returns

Attributes

Applies to