Android.Net.ConnectivityManager.NetworkPreference Property
Retrieves the current preferred network type.

Syntax

[System.Obsolete("deprecated")]
[get: Android.Runtime.Register("getNetworkPreference", "()I", "GetGetNetworkPreferenceHandler")]
[set: Android.Runtime.Register("setNetworkPreference", "(I)V", "GetSetNetworkPreference_IHandler")]
public virtual ConnectivityType NetworkPreference { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Retrieves the current preferred network type.

Set method documentation [Android Documentation]

Specifies the preferred network type. When the device has more than one type available the preferred network type will be used.

Requirements

Namespace: Android.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1