ParcelUuid.FromString(String) Method

Definition

Creates a new ParcelUuid from a string representation of UUID.

[Android.Runtime.Register("fromString", "(Ljava/lang/String;)Landroid/os/ParcelUuid;", "")]
public static Android.OS.ParcelUuid? FromString (string? uuid);
[<Android.Runtime.Register("fromString", "(Ljava/lang/String;)Landroid/os/ParcelUuid;", "")>]
static member FromString : string -> Android.OS.ParcelUuid

Parameters

uuid
String

the UUID string to parse.

Returns

a ParcelUuid instance.

Attributes

Exceptions

if uuid is null.

if uuid is not formatted correctly.

Remarks

Creates a new ParcelUuid from a string representation of UUID.

Java documentation for android.os.ParcelUuid.fromString(java.lang.String).

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