ConnectivityManager.StopUsingNetworkFeature(ConnectivityType, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
deprecated
Tells the underlying networking system that the caller is finished using the named feature.
[Android.Runtime.Register("stopUsingNetworkFeature", "(ILjava/lang/String;)I", "GetStopUsingNetworkFeature_ILjava_lang_String_Handler")]
[System.Obsolete("deprecated")]
public virtual int StopUsingNetworkFeature (Android.Net.ConnectivityType networkType, string? feature);
[<Android.Runtime.Register("stopUsingNetworkFeature", "(ILjava/lang/String;)I", "GetStopUsingNetworkFeature_ILjava_lang_String_Handler")>]
[<System.Obsolete("deprecated")>]
abstract member StopUsingNetworkFeature : Android.Net.ConnectivityType * string -> int
override this.StopUsingNetworkFeature : Android.Net.ConnectivityType * string -> int
Parameters
- networkType
- ConnectivityType
specifies which network the request pertains to
- feature
- String
the name of the feature that is no longer needed
Returns
- 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.