JniValueMarshalerState Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retains a JNI argument, its reference or managed peer, and additional marshaler state.
public struct JniValueMarshalerState : IEquatable<Java.Interop.JniValueMarshalerState>
type JniValueMarshalerState = struct
- Inheritance
-
JniValueMarshalerState
- Implements
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 |
|---|---|
| JniValueMarshalerState(IJavaPeerable, Object) |
Creates marshaler state from a managed peer and its JNI reference. |
| JniValueMarshalerState(JniArgumentValue, Object) |
Creates marshaler state from an argument without an object reference or managed peer. |
| JniValueMarshalerState(JniObjectReference, Object) |
Creates marshaler state from a JNI reference and its handle as an argument. |
Properties
| Name | Description |
|---|---|
| Extra |
Gets the additional state retained for the marshaler. |
| JniArgumentValue |
Gets the stored JNI argument. |
| PeerableValue |
Gets the managed peer retained by this state. |
| ReferenceValue |
Gets the JNI reference stored by this state. |
Methods
| Name | Description |
|---|---|
| Equals(JniValueMarshalerState) |
Compares argument and reference values and managed object identities. |
| Equals(Object) |
Determines whether an object is an equal marshaler state. |
| GetHashCode() |
Gets the hash code of the stored JNI argument. |
| ToString() |
Returns a diagnostic description of the marshaler state. |
Operators
| Name | Description |
|---|---|
| Equality(JniValueMarshalerState, JniValueMarshalerState) |
Determines whether two marshaler states are equal. |
| Inequality(JniValueMarshalerState, JniValueMarshalerState) |
Determines whether two marshaler states differ. |