NetworkInfo.IsRoaming Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether the device is currently roaming on this network.
public virtual bool IsRoaming { [Android.Runtime.Register("isRoaming", "()Z", "GetIsRoamingHandler")] get; }
[<get: Android.Runtime.Register("isRoaming", "()Z", "GetIsRoamingHandler")>]
member this.IsRoaming : bool
Property Value
true
if roaming is in effect, false
otherwise.
- Attributes
Remarks
Indicates whether the device is currently roaming on this network. When true
, it suggests that use of data on this network may incur extra costs.
This member is deprecated. Callers should switch to checking NetworkCapabilities#NET_CAPABILITY_NOT_ROAMING
instead, since that handles more complex situations, such as VPNs.
Java documentation for android.net.NetworkInfo.isRoaming()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.