Language

JniValueMarshaler<T>.DestroyArgumentState Method

Definition

Casts the original value to T and invokes typed state cleanup.

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

Parameters

value
Object

The original value, cast directly to T.

state
JniValueMarshalerState

The state passed by reference to typed cleanup.

synchronize
ParameterAttributes

Flags forwarded to DestroyGenericArgumentState.

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