Udostępnij za pośrednictwem


UUID.ClockSequence Method

Definition

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

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.

Applies to