Language

JniValueMarshalerContext Class

Definition

Holds expressions, local variables, and setup and cleanup statements used to marshal JNI values.

public sealed class JniValueMarshalerContext
type JniValueMarshalerContext = class
Inheritance
JniValueMarshalerContext

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.

Constructors

Name Description
JniValueMarshalerContext(Expression, Expression)

Creates a marshaling context with the supplied runtime and value-manager expressions.

JniValueMarshalerContext(Expression)

Creates a marshaling context with a runtime expression and no value-manager expression.

Properties

Name Description
CleanupStatements

Gets the collection of expressions that release resources after marshaling.

CreationStatements

Gets the collection of expressions that prepare marshaled values.

LocalVariables

Gets the local-variable expressions used during marshaling, indexed by variable name.

Runtime

Gets the runtime expression supplied to the constructor.

ValueManager

Gets the value-manager expression supplied to the constructor.

Applies to