NetworkInformationOptions Class
The host hooks of the Network Information API (https://wicg.github.io/netinfo/, BrowsingContextOptions.NetworkInformation).
public sealed class NetworkInformationOptionsConstructors
| Name | Description |
|---|---|
| NetworkInformationOptions() |
NetworkInformationOptions()
public NetworkInformationOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Provider | Gets or sets the source of the information about the network connection of the device (navigator.connection), e.g. a NetworkInformationProvider whose NetworkInformationProvider.Status is set by the application, or a subclass that reads the network of the operating system. A provider can be shared by several browsing contexts. It also gives the values of the RTT, Downlink and ECT client hints that ClientHintsOptions does not set. The default is null: the connection is the one of NetworkConnectionStatus.Default, with the values of ClientHintsOptions.RoundTripTime, ClientHintsOptions.Downlink and ClientHintsOptions.EffectiveConnectionType when they are set. |
Provider
NetworkInformation.csGets or sets the source of the information about the network connection of the device (navigator.connection), e.g. a NetworkInformationProvider whose NetworkInformationProvider.Status is set by the application, or a subclass that reads the network of the operating system. A provider can be shared by several browsing contexts. It also gives the values of the RTT, Downlink and ECT client hints that ClientHintsOptions does not set. The default is null: the connection is the one of NetworkConnectionStatus.Default, with the values of ClientHintsOptions.RoundTripTime, ClientHintsOptions.Downlink and ClientHintsOptions.EffectiveConnectionType when they are set.
public NetworkInformationProvider? Provider { get; init; }