Udostępnij za pośrednictwem


JNIEnv.SetStaticField Method

Definition

Overloads

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

SetStaticField(IntPtr, IntPtr, Single)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, IntPtr)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, Int64)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, Int32)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, SByte)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, Double)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, Char)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, Boolean)

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

Parameters

jclass
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

SetStaticField(IntPtr, IntPtr, Int16)

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

Parameters

jclass
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