> For the complete documentation index, see [llms.txt](https://docs.sentiance.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sentiance.com/sdk/api-reference/android/smart-geofences/smartgeofence.md).

# SmartGeofence

## SmartGeofence API

### `getSentianceId()`

> ```java
> String getSentianceId()
> ```
>
> Returns a unique geofence identifier provided by Sentiance.

### `getLatitude()`

> ```java
> double getLatitude()
> ```
>
> Returns the latitude of the geofence's center.

### `getLongitude()`

> ```java
> double getLongitude()
> ```
>
> Returns the longitude of the geofence's center.

### `getRadius()`

> ```java
> int getRadius()
> ```
>
> Returns the radius of the geofence circle in meters.

### `getExternalId()`

> ```java
> String getExternalId()
> ```
>
> Returns a unique identifier that you have provided when creating the geofence.
