JNIEnv.SetField Method

Definition

Overloads

SetField(IntPtr, IntPtr, Int64)
SetField(IntPtr, IntPtr, Single)
SetField(IntPtr, IntPtr, SByte)
SetField(IntPtr, IntPtr, IntPtr)
SetField(IntPtr, IntPtr, Int32)
SetField(IntPtr, IntPtr, Double)
SetField(IntPtr, IntPtr, Char)
SetField(IntPtr, IntPtr, Boolean)
SetField(IntPtr, IntPtr, Int16)

SetField(IntPtr, IntPtr, Int64)

public static void SetField (IntPtr jobject, IntPtr jfieldID, long val);
static member SetField : nativeint * nativeint * int64 -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
Int64

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

SetField(IntPtr, IntPtr, Single)

public static void SetField (IntPtr jobject, IntPtr jfieldID, float val);
static member SetField : nativeint * nativeint * single -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
Single

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

SetField(IntPtr, IntPtr, SByte)

public static void SetField (IntPtr jobject, IntPtr jfieldID, sbyte val);
static member SetField : nativeint * nativeint * sbyte -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
SByte

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

SetField(IntPtr, IntPtr, IntPtr)

public static void SetField (IntPtr jobject, IntPtr jfieldID, IntPtr val);
static member SetField : nativeint * nativeint * nativeint -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
IntPtr

nativeint

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

SetField(IntPtr, IntPtr, Int32)

public static void SetField (IntPtr jobject, IntPtr jfieldID, int val);
static member SetField : nativeint * nativeint * int -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
Int32

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

SetField(IntPtr, IntPtr, Double)

public static void SetField (IntPtr jobject, IntPtr jfieldID, double val);
static member SetField : nativeint * nativeint * double -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
Double

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

SetField(IntPtr, IntPtr, Char)

public static void SetField (IntPtr jobject, IntPtr jfieldID, char val);
static member SetField : nativeint * nativeint * char -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
Char

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

SetField(IntPtr, IntPtr, Boolean)

public static void SetField (IntPtr jobject, IntPtr jfieldID, bool val);
static member SetField : nativeint * nativeint * bool -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
Boolean

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

SetField(IntPtr, IntPtr, Int16)

public static void SetField (IntPtr jobject, IntPtr jfieldID, short val);
static member SetField : nativeint * nativeint * int16 -> unit

Parameters

jobject
IntPtr

nativeint

jfieldID
IntPtr

nativeint

val
Int16

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