JniArgumentValue 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.
Stores one JNI argument in a union of primitive values and an object reference handle.
public struct JniArgumentValue : IEquatable<Java.Interop.JniArgumentValue>
type JniArgumentValue = struct
- Inheritance
-
JniArgumentValue
- 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 |
|---|---|
| JniArgumentValue(Boolean) |
Creates a Java boolean argument. |
| JniArgumentValue(Byte) |
Creates a Java byte argument from an unsigned byte value. |
| JniArgumentValue(Char) |
Creates a Java character argument. |
| JniArgumentValue(Double) |
Creates a Java double-precision floating-point argument. |
| JniArgumentValue(IJavaPeerable) |
Creates an argument from a managed peer's JNI handle. |
| JniArgumentValue(Int16) |
Creates a Java short integer argument. |
| JniArgumentValue(Int32) |
Creates a Java integer argument. |
| JniArgumentValue(Int64) |
Creates a Java long integer argument. |
| JniArgumentValue(IntPtr) |
Creates an object reference argument from a JNI handle. |
| JniArgumentValue(JniObjectReference) |
Creates an argument from a JNI object reference handle. |
| JniArgumentValue(SByte) |
Creates a signed Java byte argument. |
| JniArgumentValue(Single) |
Creates a Java single-precision floating-point argument. |
| JniArgumentValue(UInt16) |
Creates a Java short argument from an unsigned 16-bit value. |
| JniArgumentValue(UInt32) |
Creates a Java int argument from an unsigned 32-bit value. |
| JniArgumentValue(UInt64) |
Creates a Java long argument from an unsigned 64-bit value. |
Methods
| Name | Description |
|---|---|
| Equals(JniArgumentValue) |
Compares the stored 64-bit representations of two arguments. |
| Equals(Object) |
Determines whether an object has the same JNI argument storage. |
| GetHashCode() |
Gets a hash code for the argument's 64-bit storage. |
| ToString() |
Returns a diagnostic description of all views of the argument union. |
Operators
| Name | Description |
|---|---|
| Equality(JniArgumentValue, JniArgumentValue) |
Determines whether two arguments have the same 64-bit storage. |
| Inequality(JniArgumentValue, JniArgumentValue) |
Determines whether two arguments have different 64-bit storage. |