次の方法で共有


UUID.RandomUUID Method

Definition

Static factory to retrieve a type 4 (pseudo randomly generated) UUID.

[Android.Runtime.Register("randomUUID", "()Ljava/util/UUID;", "")]
public static Java.Util.UUID? RandomUUID ();
[<Android.Runtime.Register("randomUUID", "()Ljava/util/UUID;", "")>]
static member RandomUUID : unit -> Java.Util.UUID

Returns

A randomly generated UUID

Attributes

Remarks

Static factory to retrieve a type 4 (pseudo randomly generated) UUID.

The UUID is generated using a cryptographically strong pseudo random number generator.

Java documentation for java.util.UUID.randomUUID().

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