Sdílet prostřednictvím


ConnectivityManager.ReportBadNetwork(Network) Method

Definition

Report a problem network to the framework.

[Android.Runtime.Register("reportBadNetwork", "(Landroid/net/Network;)V", "GetReportBadNetwork_Landroid_net_Network_Handler")]
public virtual void ReportBadNetwork (Android.Net.Network? network);
[<Android.Runtime.Register("reportBadNetwork", "(Landroid/net/Network;)V", "GetReportBadNetwork_Landroid_net_Network_Handler")>]
abstract member ReportBadNetwork : Android.Net.Network -> unit
override this.ReportBadNetwork : Android.Net.Network -> unit

Parameters

network
Network

The Network the application was attempting to use or null to indicate the current default network.

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.

Applies to