# Work location

#### Get Work Location

Allows to get the work location calculated for this device. \
Return a `WorkLocation` object if work location is available or null otherwise.

{% tabs %}
{% tab title="Java" %}

```java
GeoUniq.getInstance(context).getWorkLocation()
```

{% endtab %}
{% endtabs %}

#### Register Work Location listener

Sets the listener class that will receive updates when the work location changes. \
The listener must be impIement the IWorkLocationListener interface.

{% tabs %}
{% tab title="Java" %}

```java
GeoUniq.getInstance(context).registerWorkLocationListener(listener)
```

{% endtab %}
{% endtabs %}

#### Unregister Work Location listener

Remove work location updates for the listener.

{% tabs %}
{% tab title="Java" %}

```java
GeoUniq.getInstance(context).unregisterWorkLocationListener(listener)
```

{% endtab %}
{% endtabs %}

###
