# Get connection type

![](/files/rUJpqq6qI0tQliWx7LC6)

{% tabs %}
{% tab title="Entry Vars" %}
**(Does not contain Entry Vars)**

**Step by Step :**

<figure><img src="/files/ier8HbNfEFu8qyqMQ64c" alt=""><figcaption></figcaption></figure>
{% endtab %}

{% tab title="Callbacks & Outvar" %}
**Mobile data :** It runs when the user using the application is connected with mobile data.

OutVars&#x20;

`Null-`

**Offline :**  It is executed when the user using the application is not connected to any network.

OutVars&#x20;

`Null`

**Wifi :**  It runs when the user using the application is connected with a local modem or Wifi device.

OutVars&#x20;

`Null`
{% endtab %}

{% tab title="Features" %}

* El callback offline, se puede usar solamente en producción y no desde el previewer.
* La función no es soportada en web app.
  {% endtab %}

{% tab title="examples" %}

<figure><img src="/files/VLHulAvcaz3VabW4BB4c" alt=""><figcaption></figcaption></figure>
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.apphive.io/reference/funciones/phone-apis-e/get-connection-type.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
