LocationProvider.RequiresNetwork Method
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.
Returns true if the provider requires access to a data network (e.
[Android.Runtime.Register("requiresNetwork", "()Z", "GetRequiresNetworkHandler")]
public virtual bool RequiresNetwork ();
[<Android.Runtime.Register("requiresNetwork", "()Z", "GetRequiresNetworkHandler")>]
abstract member RequiresNetwork : unit -> bool
override this.RequiresNetwork : unit -> bool
Returns
- Attributes
Remarks
Returns true if the provider requires access to a data network (e.g., the Internet), false otherwise.
Java documentation for android.location.LocationProvider.requiresNetwork()
.
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.