Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


internetReachability

Returns the type of internet reachability currently possible on the device.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static NetworkReachability internetReachability { get; }

Remarks

This property is mostly useful on handhelds to distinguish fast and cheap WiFi connection from carrier networking.
Note: Do not use this property to determine the actual connectivity. For example, the device can be connected to a hot spot, but not have the actual route to the network.
Non-handhelds are considered to be always capable of NetworkReachability.ReachableViaLocalAreaNetwork.