ConnectivityManager.StartUsingNetworkFeature(ConnectivityType, String) ConnectivityManager.StartUsingNetworkFeature(ConnectivityType, String) Method

Definition

Warning

This API is now obsolete.

Tells the underlying networking system that the caller wants to begin using the named feature.

[Android.Runtime.Register("startUsingNetworkFeature", "(ILjava/lang/String;)I", "GetStartUsingNetworkFeature_ILjava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual int StartUsingNetworkFeature (Android.Net.ConnectivityType networkType, string feature);
abstract member StartUsingNetworkFeature : Android.Net.ConnectivityType * string -> int
override this.StartUsingNetworkFeature : Android.Net.ConnectivityType * string -> int

Parameters

networkType
ConnectivityType ConnectivityType

specifies which network the request pertains to

feature
String String

the name of the feature to be used

Returns

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.

Applies to