Udostępnij za pośrednictwem


Connectivity.ConnectivityChanged Event

Definition

Event that is triggered when a network access or profile has changed.

public static event EventHandler<Xamarin.Essentials.ConnectivityChangedEventArgs> ConnectivityChanged;

Event Type

System.EventHandler<ConnectivityChangedEventArgs>

Remarks

Can throw PermissionException on Android if ACCESS_NETWORK_STATE is not set in manifest.

Applies to