Language

NetworkInfo.DetailedState.ValueOf(String) Method

Definition

Returns the detailed network state enum constant with the exact supplied name.

[Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Landroid/net/NetworkInfo$DetailedState;", "")]
public static Android.Net.NetworkInfo.DetailedState ValueOf(string name);
[<Android.Runtime.Register("valueOf", "(Ljava/lang/String;)Landroid/net/NetworkInfo$DetailedState;", "")>]
static member ValueOf : string -> Android.Net.NetworkInfo.DetailedState

Parameters

name
String

The name of the constant to return.

Returns

The enum constant of this class with the specified name.

Attributes

Remarks

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.

Java documentation for android.net.NetworkInfo.DetailedState.valueOf(java.lang.String).

Applies to