Share via


JniRuntime.JniValueManager.CreateValue Method

Definition

Overloads

CreateValue(JniObjectReference, JniObjectReferenceOptions, Type)
CreateValue<T>(JniObjectReference, JniObjectReferenceOptions, Type)

CreateValue(JniObjectReference, JniObjectReferenceOptions, Type)

public object? CreateValue (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.CreateValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> obj

Parameters

reference
JniObjectReference
targetType
Type

Returns

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

CreateValue<T>(JniObjectReference, JniObjectReferenceOptions, Type)

public T CreateValue<T> (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.CreateValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> 'T

Type Parameters

T

Parameters

reference
JniObjectReference
targetType
Type

Returns

T

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