Share via


Phaser.Phase Property

Definition

Returns the current phase number.

public int Phase { [Android.Runtime.Register("getPhase", "()I", "")] get; }
[<get: Android.Runtime.Register("getPhase", "()I", "")>]
member this.Phase : int

Property Value

the phase number, or a negative value if terminated

Attributes

Remarks

Returns the current phase number. The maximum phase number is Integer.MAX_VALUE, after which it restarts at zero. Upon termination, the phase number is negative, in which case the prevailing phase prior to termination may be obtained via getPhase() + Integer.MIN_VALUE.

Java documentation for java.util.concurrent.Phaser.getPhase().

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