Language

Script.GetVarB(Int32) Method

Definition

Reads an exported integer global as a Boolean.

[Android.Runtime.Register("getVarB", "(I)Z", "GetGetVarB_IHandler")]
public virtual bool GetVarB(int index);
[<Android.Runtime.Register("getVarB", "(I)Z", "GetGetVarB_IHandler")>]
abstract member GetVarB : int -> bool
override this.GetVarB : int -> bool

Parameters

index
Int32

The index of the exported global variable.

Returns

True if the stored integer is positive; otherwise, false.

Attributes

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