共用方式為


ConnectivityManager.NetworkCallback.OnBlockedStatusChanged Method

Definition

[Android.Runtime.Register("onBlockedStatusChanged", "(Landroid/net/Network;Z)V", "GetOnBlockedStatusChanged_Landroid_net_Network_ZHandler", ApiSince=29)]
public virtual void OnBlockedStatusChanged (Android.Net.Network network, bool blocked);
[<Android.Runtime.Register("onBlockedStatusChanged", "(Landroid/net/Network;Z)V", "GetOnBlockedStatusChanged_Landroid_net_Network_ZHandler", ApiSince=29)>]
abstract member OnBlockedStatusChanged : Android.Net.Network * bool -> unit
override this.OnBlockedStatusChanged : Android.Net.Network * bool -> unit

Parameters

network
Network
blocked
Boolean
Attributes

Applies to