Language

JniValueMarshaler.CreateArgumentState(Object, ParameterAttributes) Method

Definition

Creates argument state through CreateObjectReferenceArgumentState.

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

Parameters

value
Object

The managed argument to marshal.

synchronize
ParameterAttributes

Copy-direction flags passed to the object-reference state creator.

Returns

The state returned by the object-reference state creator.

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