UUID.ClockSequence Method
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.
The clock sequence value associated with this UUID.
[Android.Runtime.Register("clockSequence", "()I", "")]
public int ClockSequence ();
[<Android.Runtime.Register("clockSequence", "()I", "")>]
member this.ClockSequence : unit -> int
Returns
The clock sequence of this UUID
- Attributes
Exceptions
if Version() is not 1.
Remarks
The clock sequence value associated with this UUID.
The 14 bit clock sequence value is constructed from the clock sequence field of this UUID. The clock sequence field is used to guarantee temporal uniqueness in a time-based UUID.
The clockSequence
value is only meaningful in a time-based UUID, which has version type 1. If this UUID is not a time-based UUID then this method throws UnsupportedOperationException.
Java documentation for java.util.UUID.clockSequence()
.
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.