Share via


GeofenceHardwareRequest.CreateCircularGeofence(Double, Double, Double) Method

Definition

Create a circular geofence.

[Android.Runtime.Register("createCircularGeofence", "(DDD)Landroid/hardware/location/GeofenceHardwareRequest;", "")]
public static Android.Hardware.Location.GeofenceHardwareRequest? CreateCircularGeofence (double latitude, double longitude, double radius);
[<Android.Runtime.Register("createCircularGeofence", "(DDD)Landroid/hardware/location/GeofenceHardwareRequest;", "")>]
static member CreateCircularGeofence : double * double * double -> Android.Hardware.Location.GeofenceHardwareRequest

Parameters

latitude
Double

Latitude of the geofence

longitude
Double

Longitude of the geofence

radius
Double

Radius of the geofence (in meters)

Returns

Attributes

Remarks

Create a circular geofence.

Java documentation for android.hardware.location.GeofenceHardwareRequest.createCircularGeofence(double, double, double).

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