Language

JniValueMarshaler.CreateObjectReferenceArgumentState Method

Definition

Creates argument state containing an object reference for a managed value.

public abstract Java.Interop.JniValueMarshalerState CreateObjectReferenceArgumentState(object? value, System.Reflection.ParameterAttributes synchronize = System.Reflection.ParameterAttributes.None);
abstract member CreateObjectReferenceArgumentState : obj * System.Reflection.ParameterAttributes -> Java.Interop.JniValueMarshalerState

Parameters

value
Object

The managed value to represent as a JNI object reference.

synchronize
ParameterAttributes

Copy-direction flags for the marshaler implementation.

Returns

Implementation-specific state for the reference and its later cleanup.

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