Dela via


LocationProvider.RequiresCell Method

Definition

Returns true if the provider requires access to an appropriate cellular network (e.

[Android.Runtime.Register("requiresCell", "()Z", "GetRequiresCellHandler")]
public virtual bool RequiresCell ();
[<Android.Runtime.Register("requiresCell", "()Z", "GetRequiresCellHandler")>]
abstract member RequiresCell : unit -> bool
override this.RequiresCell : unit -> bool

Returns

Attributes

Remarks

Returns true if the provider requires access to an appropriate cellular network (e.g., to make use of cell tower IDs), false otherwise.

Java documentation for android.location.LocationProvider.requiresCell().

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.

Applies to