Language

JniValueMarshaler<T>.CreateArgumentState Method

Definition

Casts an object to T and creates typed argument state.

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

Parameters

value
Object

The managed argument, cast directly to T.

synchronize
ParameterAttributes

Flags forwarded to CreateGenericArgumentState.

Returns

The state returned by CreateGenericArgumentState.

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