기술 자료

Unity Engine

Unity Engine

internetReachability

Returns the type of internet reachability currently possible on the device.
읽는 시간 1분최근 업데이트: 한 달 전

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.