Language

JniRuntime.JniTypeManager.GetSimpleReferences(Type) Method

Definition

Supplies candidate simple JNI names for a managed type.

protected virtual System.Collections.Generic.IEnumerable<string> GetSimpleReferences(Type type);
abstract member GetSimpleReferences : Type -> seq<string>
override this.GetSimpleReferences : Type -> seq<string>

Parameters

type
Type

The managed type whose simple JNI names are requested.

Returns

In .NET 10 for Android, the base implementation can return a name from JniTypeSignatureAttribute. In .NET 9 for Android, it returns an empty sequence for a valid non-array type. In .NET 11 for Android, it returns an empty sequence.

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