Freigeben über


JniRuntime.JniTypeManager.TryRegisterNativeMembers Method

Definition

Overloads

TryRegisterNativeMembers(JniType, Type, ReadOnlySpan<Char>)
TryRegisterNativeMembers(JniType, Type, String)
Obsolete.

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

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to