JniRuntime.JniValueManager.GetValue Method

Definition

Overloads

GetValue(JniObjectReference, JniObjectReferenceOptions, Type)
GetValue<T>(IntPtr)
GetValue<T>(JniObjectReference, JniObjectReferenceOptions, Type)

GetValue(JniObjectReference, JniObjectReferenceOptions, Type)

public object? GetValue (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.GetValue : 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

GetValue<T>(IntPtr)

public T GetValue<T> (IntPtr handle);
member this.GetValue : nativeint -> 'T

Type Parameters

T

Parameters

handle
IntPtr

nativeint

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

GetValue<T>(JniObjectReference, JniObjectReferenceOptions, Type)

public T GetValue<T> (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.GetValue : 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