
### Event
Class model for events.

**Declared In:**  
`com.synerise.sdk.event.Event`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-76">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-76-0" data-tab-group="tabgrp-76" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-76-1" data-tab-group="tabgrp-76">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-76-0" data-tab-group="tabgrp-76" data-tab-active="true">

```Java
public abstract class Event implements Serializable
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-76-1" data-tab-group="tabgrp-76">

```Kotlin
abstract class Event : Serializable
```

</div>
</div>


**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **eventTime** | Date | no | - | Event time |
| **type** | String | no | - | Event type |
| **action** | String | no | - | Event action |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **clientParams** | HashMap<String, Object> | no | - | Profile parameters |
| **params** | HashMap<String, Object> | no | - | Event params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

All properties above are accessible by using getters.

</div></div></div>


**Initializers:**  

There are no initializers.

**Methods:**  

This method retrieves the value of the `label` parameter.


<pre><code class="language-java">public String getLabel()</code></pre>


---

This method retrieves the value of the `action` parameter.


<pre><code class="language-java">public String getAction()</code></pre>


---

This method retrieves the values of the `clientParams` object.


<pre><code class="language-java">public HashMap&lt;String, Object&gt; getClientParams()</code></pre>


---

This method retrieves the value of the `eventTime` parameter.


<pre><code class="language-java">public Date getEventTime()</code></pre>


---

This method retrieves the value of the `type` parameter.


<pre><code class="language-java">public String getType()</code></pre>


---

This method retrieves the values of the `eventParams` object.


<pre><code class="language-java">public HashMap&lt;String, Object&gt; getParams()</code></pre>


---

---
---

### CustomEvent


<div class="admonition admonition-warning"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L4.082 16.5c-.77.833.192 2.5 1.732 2.5z" /></svg></div><div class="admonition-body"><div class="admonition-content">

DO NOT send `transaction.charge` events as custom events.<br>
Transactions must be tracked with these endpoints:
- [`/v4/transactions`](https://developers.synerise.com/DataManagement/DataManagement.html#operation/CreateATransaction) (single transaction)
- [`/v4/transactions/batch`](https://developers.synerise.com/DataManagement/DataManagement.html#operation/BatchAddOrUpdateTransactions) (multiple transactions)

</div></div></div>


Class model for _custom_ event.

**Declared In:**  
`com.synerise.sdk.event.model.CustomEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-77">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-77-0" data-tab-group="tabgrp-77" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-77-1" data-tab-group="tabgrp-77">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-77-0" data-tab-group="tabgrp-77" data-tab-active="true">

```Java
public class CustomEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-77-1" data-tab-group="tabgrp-77">

```Kotlin
class CustomEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **action** | String | no | - | Event action |
| **params** | TrackerParams | yes | - | Event tracker parameters |

**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public CustomEvent(@NonNull String action, @NonNull String label)</code></pre>



<pre><code class="language-java">public CustomEvent(@NonNull String action, @NonNull String label, @Nullable TrackerParams params)</code></pre>



<pre><code class="language-java">public CustomEvent(@NonNull String type, @NonNull String action, @NonNull String label, @Nullable TrackerParams params)</code></pre>


**Methods:**  

There are no methods.

---
---

### AppStartedEvent
Class model for the application started event.

**Declared In:**  
`com.synerise.sdk.event.model.interaction.AppStartedEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-78">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-78-0" data-tab-group="tabgrp-78" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-78-1" data-tab-group="tabgrp-78">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-78-0" data-tab-group="tabgrp-78" data-tab-active="true">

```Java
public class AppStartedEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-78-1" data-tab-group="tabgrp-78">

```Kotlin
class AppStartedEvent : Event
```

</div>
</div>



<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

This event will be sent every time an application is started.

</div></div></div>


**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hub. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker parameters |

#### Parameters tracked

| Parameter |  Description |
| --- | --- |
| **currentSDKVersion** | Current SDK version |
| **lastSDKVersion** | Last SDK version |
| **sdkVersionCode** | Current SDK version code |
| **applicationName** | Application name |
| **version** | Application version |
| **appVersionCode** | Application version code |
| **deviceId** | Device ID. Can be null |
| **deviceModel** | Device model |
| **deviceManufacturer** | Device manufacturer |
| **deviceResolution** | Device resolution |
| **deviceType** | Device type |
| **os** | OS type |
| **osVersion** | OS version |
| **osLanguage** | System language |
| **systemPushConsent** | System push agreement |
| **networkType** | Network type |
| **origin** | Origin of SDK |
| **networkCountry** | Country of network |
| **cellType** | Cell type |
| **cellCarrier** | Cell carrier |
| **cellCountry** | Cell country |
| **cellRoaming** | Cell roaming |



**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public AppStartedEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public AppStartedEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### AutoTrackingEvent
Class model for _autotracking_ events.

**Declared In:**  
`com.synerise.sdk.event.model.interaction.AutoTrackingEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-79">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-79-0" data-tab-group="tabgrp-79" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-79-1" data-tab-group="tabgrp-79">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-79-0" data-tab-group="tabgrp-79" data-tab-active="true">

```Java
public class AutoTrackingEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-79-1" data-tab-group="tabgrp-79">

```Kotlin
class AutoTrackingEvent : Event
```

</div>
</div>



<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

This event is sent only by the Synerise SDK. Sending this event in your application on your own is **not recommended**.

</div></div></div>


**Properties:**  

There are no public properties.


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `screen.interaction` and `screen.view` events are sent by the [auto-tracking module](/developers/mobile-sdk/event-tracking#events-tracked-automatically).

</div></div></div>


**Initializers:**  

There are no public constructors.


**Methods:**  

There are no methods.

---
---

### ViewedPushEvent
Class model for the `push.view` event.


**Declared In:**  
`com.synerise.sdk.event.model.push.ViewedPushEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-80">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-80-0" data-tab-group="tabgrp-80" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-80-1" data-tab-group="tabgrp-80">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-80-0" data-tab-group="tabgrp-80" data-tab-active="true">

```Java
public class ViewedPushEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-80-1" data-tab-group="tabgrp-80">

```Kotlin
class ViewedPushEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker parameters |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public ViewedPushEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public ViewedPushEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### ClickedPushEvent
Class model for the `push.click` event.


**Declared In:**  
`com.synerise.sdk.event.model.push.ClickedPushEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-81">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-81-0" data-tab-group="tabgrp-81" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-81-1" data-tab-group="tabgrp-81">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-81-0" data-tab-group="tabgrp-81" data-tab-active="true">

```Java
public class ClickedPushEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-81-1" data-tab-group="tabgrp-81">

```Kotlin
class ClickedPushEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hub. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker parameters |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public ClickedPushEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public ClickedPushEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### CancelledPushEvent
Class model for the cancel push event generated.


**Declared In:**  
`com.synerise.sdk.event.model.push.CancelledPushEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-82">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-82-0" data-tab-group="tabgrp-82" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-82-1" data-tab-group="tabgrp-82">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-82-0" data-tab-group="tabgrp-82" data-tab-active="true">

```Java
public class CancelledPushEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-82-1" data-tab-group="tabgrp-82">

```Kotlin
class CancelledPushEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hub. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker parameters |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public CancelledPushEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public CancelledPushEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### CartEvent
Class model for the events related to a cart.

**Declared In:**  
`com.synerise.sdk.event.model.products.cart.CartEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-83">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-83-0" data-tab-group="tabgrp-83" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-83-1" data-tab-group="tabgrp-83">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-83-0" data-tab-group="tabgrp-83" data-tab-active="true">

```Java
public abstract class CartEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-83-1" data-tab-group="tabgrp-83">

```Kotlin
abstract class CartEvent : Event
```

</div>
</div>


#### Inheriting classes
[AddedToCartEvent](/developers/mobile-sdk/class-reference/ios/events#productaddedtocartevent)
[RemovedFromCartEvent](/developers/mobile-sdk/class-reference/ios/events#productremovedfromcartevent)

**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **type** | String | no | - | Event type |
| **sku** | String | no | - | SKU of the item |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hub. It isn't shown on a Profile card. |
| **finalPrice** | `UnitPrice` | no | - | Final price of the item |
| **quantity** | int | no | - | Quantity of the item |
| **params** | TrackerParams | yes | - | Event tracker parameters |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The following keys: `sku`, `name`, `category`, `categories`, `offline`, `regularUnitPrice`, `discountedUnitPrice`, `finalUnitPrice`, `url`, `producer`, `quantity` are reserved by Synerise for the `params` object.

</div></div></div>



**Initializers:**  


<pre><code class="language-java">CartEvent(@NonNull String type, @NonNull String label, @NonNull String sku, @NonNull UnitPrice finalPrice, int quantity,
              @Nullable TrackerParams params)</code></pre>


**Methods:**  

This method sets a value for the  `name` parameter.


<pre><code class="language-java">public void setName(String name)</code></pre>


---

This method sets a value for the `category` parameter.


<pre><code class="language-java">public void setCategory(String category)</code></pre>


---

This method sets values for the `categories` parameter.


<pre><code class="language-java">public void setCategories(List&lt;String&gt; categories)</code></pre>


---

This method sets a value for the `offline` parameter.


<pre><code class="language-java">public void setOffline(boolean offline)</code></pre>


---

This method sets the value of the `regularPrice` parameter.


<pre><code class="language-java">public void setRegularPrice(UnitPrice regularPrice)</code></pre>


---

This method sets the value of the `discountedPrice` parameter.


<pre><code class="language-java">public void setDiscountedPrice(UnitPrice discountedPrice)</code></pre>


---

This method sets the value of the `url` parameter.


<pre><code class="language-java">public void setUrl(String url)</code></pre>


---

This method sets the value of the `producer` parameter (producer can signify a brand of the item).


<pre><code class="language-java">public void setProducer(String producer)</code></pre>


---

---
---

### AddedToCartEvent
Class model for _add to cart_ event.

**Declared In:**  
`com.synerise.sdk.event.model.products.cart.AddedToCartEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-84">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-84-0" data-tab-group="tabgrp-84" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-84-1" data-tab-group="tabgrp-84">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-84-0" data-tab-group="tabgrp-84" data-tab-active="true">

```Java
public class AddedToCartEvent extends CartEvent
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-84-1" data-tab-group="tabgrp-84">

```Kotlin
class AddedToCartEvent : CartEvent
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **type** | String | no | - | Event type |
| **sku** | String | no | - | SKU of the product |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **finalPrice** | UnitPrice | no | - | Final price of the product |
| **quantity** | int | no | - | Quantity of the product |
| **params** | TrackerParams | yes | - | Event tracker params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"sku"`, `"name"`, `"category"`, `"categories"`, `"offline"` , `"regularUnitPrice"`, `"discountedUnitPrice"`, `"finalUnitPrice"`, `"url"`, `"producer"` , `"quantity"` keys are reserved by Synerise in params.

</div></div></div>



**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public AddedToCartEvent(@NonNull String label, @NonNull String sku, @NonNull UnitPrice finalPrice, int quantity)</code></pre>



<pre><code class="language-java">public AddedToCartEvent(@NonNull String label, @NonNull String sku, @NonNull UnitPrice finalPrice, int quantity,
                            @Nullable TrackerParams params)</code></pre>


**Methods:**  

This method defines the value of the `name` parameter.


<pre><code class="language-java">public void setName(String name)</code></pre>


---

This method defines the value of the `category` parameter.


<pre><code class="language-java">public void setCategory(String category)</code></pre>


---

This method defines the values of the `categories` parameter.


<pre><code class="language-java">public void setCategories(List&lt;String&gt; categories)</code></pre>


---

This method defines the value of the `offline` parameter.

The offline parameter describes whether an event occurred outside website, for example in a cash register.


<pre><code class="language-java">public void setOffline(boolean offline)</code></pre>


---

This method defines the value of the `regularPrice` parameter.


<pre><code class="language-java">public void setRegularPrice(UnitPrice regularPrice)</code></pre>


---

This method defines the value of the `discountedPrice` parameter.


<pre><code class="language-java">public void setDiscountedPrice(UnitPrice discountedPrice)</code></pre>


---

This method defines the value of the `url` parameter.


<pre><code class="language-java">public void setUrl(String url)</code></pre>


---

This method defines the value of the `producer` parameter.

A producer is a manufacturer of the item.


<pre><code class="language-java">public void setProducer(String producer)</code></pre>


---

---
---

### RemovedFromCartEvent
Class model for _remove from cart_ event.

**Declared In:**  
`com.synerise.sdk.event.model.products.cart.RemovedFromCartEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-85">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-85-0" data-tab-group="tabgrp-85" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-85-1" data-tab-group="tabgrp-85">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-85-0" data-tab-group="tabgrp-85" data-tab-active="true">

```Java
public class RemovedFromCartEvent extends CartEvent
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-85-1" data-tab-group="tabgrp-85">

```Kotlin
class RemovedFromCartEvent : CartEvent
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **type** | String | no | - | Event type |
| **sku** | String | no | - | SKU of the product |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **finalPrice** | `UnitPrice` | no | - | Final price of the product |
| **quantity** | int | no | - | Quantity of the product |
| **params** | TrackerParams | yes | - | Event tracker params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The keys `"sku"`, `"name"`, `"category"`, `"categories"`, `"offline"` , `"regularUnitPrice"`, `"discountedUnitPrice"`, `"finalUnitPrice"`, `"url"`, `"producer"` , `"quantity"` are reserved by Synerise in params.

</div></div></div>



**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public RemovedFromCartEvent(@NonNull String label, @NonNull String sku, @NonNull UnitPrice finalPrice, int quantity)</code></pre>



<pre><code class="language-java">public RemovedFromCartEvent(@NonNull String label, @NonNull String sku, @NonNull UnitPrice finalPrice, int quantity,
                            @Nullable TrackerParams params)</code></pre>


**Methods:**  

This method defines the value of the `name` parameter.


<pre><code class="language-java">public void setName(String name)</code></pre>


---

This method defines the value of the `category` parameter.


<pre><code class="language-java">public void setCategory(String category)</code></pre>


---

This method defines the values of the `categories` parameter.


<pre><code class="language-java">public void setCategories(List&lt;String&gt; categories)</code></pre>


---

This method defines the value of the `offline` parameter.

The offline parameter describes whether an event occurred outside website, for example in a cash register.


<pre><code class="language-java">public void setOffline(boolean offline)</code></pre>


---

This method defines the value of the `regularPrice` parameter.


<pre><code class="language-java">public void setRegularPrice(UnitPrice regularPrice)</code></pre>


---

This method defines the value of the `discountedPrice` parameter.


<pre><code class="language-java">public void setDiscountedPrice(UnitPrice discountedPrice)</code></pre>


---

This method defines the value of the `url` parameter.


<pre><code class="language-java">public void setUrl(String url)</code></pre>


---

This method defines the value of the `producer` parameter.

A producer is a manufacturer of the item.


<pre><code class="language-java">public void setProducer(String producer)</code></pre>


---

---
---

### ProductEvent
Class model for _product_ events.

**Declared In:**  
`com.synerise.sdk.event.model.ai.ProductEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-86">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-86-0" data-tab-group="tabgrp-86" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-86-1" data-tab-group="tabgrp-86">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-86-0" data-tab-group="tabgrp-86" data-tab-active="true">

```Java
public class ProductEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-86-1" data-tab-group="tabgrp-86">

```Kotlin
class ProductEvent : Event
```

</div>
</div>


#### Inheriting classes
ProductViewEvent

**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **name** | String | no | - | Product name |
| **type** | String | no | - | Event type |
| **productId** | String | no | - | Product ID |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"productId"`, `"name"`, `"category"`, `"url"` keys are reserved by Synerise in params.

</div></div></div>



**Initializers:**  


<pre><code class="language-java">public ProductEvent(@NonNull String type, @NonNull String label, @NonNull String productId, @NonNull String name,
                        @Nullable TrackerParams params)</code></pre>


**Methods:**  

This method defines the value of the `category` parameter.


<pre><code class="language-java">public void setCategory(String category)</code></pre>


---

This method defines the value of the `url` parameter.


<pre><code class="language-java">public void setUrl(String url)</code></pre>


---

---
---

### ProductViewEvent
Class model for _the product view_ event.

**Declared In:**  
`com.synerise.sdk.event.model.ai.ProductViewEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-87">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-87-0" data-tab-group="tabgrp-87" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-87-1" data-tab-group="tabgrp-87">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-87-0" data-tab-group="tabgrp-87" data-tab-active="true">

```Java
public class ProductViewEvent extends ProductEvent
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-87-1" data-tab-group="tabgrp-87">

```Kotlin
class ProductViewEvent : ProductEvent
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **name** | String | no | - | Product name |
| **productId** | String | no | - | Product ID |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"productId"`, `"name"`, `"category"`, `"url"` keys are reserved by Synerise in params.

</div></div></div>



**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public ProductViewEvent(@NonNull String label, @NonNull String productId, @NonNull String name)</code></pre>



<pre><code class="language-java">public ProductViewEvent(@NonNull String label, @NonNull String productId, @NonNull String name,
                            @Nullable TrackerParams params)</code></pre>


**Methods:**  

There are no methods.

---
---

### AddedToFavoritesEvent
Class model for _add to favourites_ event.

**Declared In:**  
`com.synerise.sdk.event.model.products.AddedToFavoritesEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-88">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-88-0" data-tab-group="tabgrp-88" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-88-1" data-tab-group="tabgrp-88">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-88-0" data-tab-group="tabgrp-88" data-tab-active="true">

```Java
public class AddedToFavoritesEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-88-1" data-tab-group="tabgrp-88">

```Kotlin
class AddedToFavoritesEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public AddedToFavoritesEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public AddedToFavoritesEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### LoggedInEvent
Class model for _Log in_ event.


**Declared In:**  
`com.synerise.sdk.event.model.session.LoggedInEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-89">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-89-0" data-tab-group="tabgrp-89" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-89-1" data-tab-group="tabgrp-89">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-89-0" data-tab-group="tabgrp-89" data-tab-active="true">

```Java
public class LoggedInEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-89-1" data-tab-group="tabgrp-89">

```Kotlin
class LoggedInEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public LoggedInEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public LoggedInEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### LoggedOutEvent
Class model for _Log out_ event.


**Declared In:**  
`com.synerise.sdk.event.model.session.LoggedOutEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-90">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-90-0" data-tab-group="tabgrp-90" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-90-1" data-tab-group="tabgrp-90">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-90-0" data-tab-group="tabgrp-90" data-tab-active="true">

```Java
public class LoggedOutEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-90-1" data-tab-group="tabgrp-90">

```Kotlin
class LoggedOutEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public LoggedOutEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public LoggedOutEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### RegisteredEvent
Class model for _client register_ event.
.

**Declared In:**  
`com.synerise.sdk.event.model.session.RegisteredEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-91">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-91-0" data-tab-group="tabgrp-91" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-91-1" data-tab-group="tabgrp-91">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-91-0" data-tab-group="tabgrp-91" data-tab-active="true">

```Java
public class RegisteredEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-91-1" data-tab-group="tabgrp-91">

```Kotlin
class RegisteredEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public RegisteredEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public RegisteredEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### RecommendationEvent
Class model for _recommendation_ events.

**Declared In:**  
`com.synerise.sdk.event.model.ai.RecommendationEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-92">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-92-0" data-tab-group="tabgrp-92" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-92-1" data-tab-group="tabgrp-92">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-92-0" data-tab-group="tabgrp-92" data-tab-active="true">

```Java
public class RecommendationEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-92-1" data-tab-group="tabgrp-92">

```Kotlin
class RecommendationEvent : Event
```

</div>
</div>


#### Inheriting classes
RecommendationClickEvent  
RecommendationSeenEvent

**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **name** | String | no | - | Product name |
| **type** | String | no | - | Event type |
| **productId** | String | no | - | Product ID |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **campaignId** | String | no | - | Recommendation campaign ID |
| **campaignHash** | String | no | - | Recommendation campaign hash |
| **params** | TrackerParams | yes | - | Event tracker params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"productId"`, `"name"`, `"category"`, `"url"`, `"campaignId"` , `"campaignHash"` keys are reserved by Synerise in params.

</div></div></div>



**Initializers:**  


<pre><code class="language-java">public RecommendationEvent(@NonNull String type, @NonNull String label, @NonNull String productId, @NonNull String name,
                               @NonNull String campaignId, @NonNull String campaignHash,
                               @Nullable TrackerParams params)</code></pre>


**Methods:**  

This method defines the value of the `category` parameter.


<pre><code class="language-java">public void setCategory(String category)</code></pre>


---

This method defines the value of the `url` parameter.


<pre><code class="language-java">public void setUrl(String url)</code></pre>


---

---
---

### RecommendationViewEvent
Class model for _recommendation_ events.

**Declared In:**  
`com.synerise.sdk.event.model.ai.RecommendationViewEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-93">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-93-0" data-tab-group="tabgrp-93" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-93-1" data-tab-group="tabgrp-93">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-93-0" data-tab-group="tabgrp-93" data-tab-active="true">

```Java
public class RecommendationViewEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-93-1" data-tab-group="tabgrp-93">

```Kotlin
class RecommendationViewEvent : Event
```

</div>
</div>


**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **productId** | String | no | - | Product ID. If this parameter is used, it is translated into a single-item `items` list automatically. If `items` is used, this parameter should be omitted. |
| **items** | `List<String>` | no | - | List of product IDs. If `productId` is used to define a single item in the event, this parameter should be omitted. |
| **correlationId** | String | no | - | Correlation ID of the recommendation |
| **campaignId** | String | no | - | Campaign ID |
| **campaignHash** | String | no | - | Campaign hash |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"items"`, `"correlationId"`, `"category"`, `"url"`, `"campaignId"` , `"campaignHash"` keys are reserved by Synerise in params.

</div></div></div>



**Initializers:**  


<pre><code class="language-java">public RecommendationViewEvent(@NonNull String productId, @NonNull String correlationId,
                                   @NonNull String campaignId, @NonNull String campaignHash)

public RecommendationViewEvent(@NonNull String label, @NonNull String productId, @NonNull String correlationId,
                                   @NonNull String campaignId, @NonNull String campaignHash, @Nullable TrackerParams params)
    
public RecommendationViewEvent(@NonNull List&lt;String&gt; items, @NonNull String correlationId,
                                   @NonNull String campaignId, @NonNull String campaignHash)

public RecommendationViewEvent(@NonNull String label, @NonNull List&lt;String&gt; items, @NonNull String correlationId,
                                   @NonNull String campaignId, @NonNull String campaignHash, @Nullable TrackerParams params)</code></pre>


**Methods:**  

This method defines the value of the `category` parameter.


<pre><code class="language-java">public void setCategory(String category)</code></pre>


---

This method defines the value of the `url` parameter.


<pre><code class="language-java">public void setUrl(String url)</code></pre>


---

---
---

### RecommendationSeenEvent
Class model for _recommendation seen_ event.

**Declared In:**  
`com.synerise.sdk.event.model.ai.RecommendationSeenEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-94">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-94-0" data-tab-group="tabgrp-94" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-94-1" data-tab-group="tabgrp-94">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-94-0" data-tab-group="tabgrp-94" data-tab-active="true">

```Java
public class RecommendationSeenEvent extends RecommendationEvent
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-94-1" data-tab-group="tabgrp-94">

```Kotlin
class RecommendationSeenEvent : RecommendationEvent
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **name** | String | no | - | Product name |
| **productId** | String | no | - | Product ID |
| **campaignId** | String | no | - | Recommendation campaign ID |
| **campaignHash** | String | no | - | Recommendation campaign hash |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"productId"`, `"name"`, `"category"`, `"url"`, `"campaignId"` , `"campaignHash"` keys are reserved by Synerise in params.

</div></div></div>


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public RecommendationSeenEvent(@NonNull String label, @NonNull String productId, @NonNull String name,
                                   @NonNull String campaignId, @NonNull String campaignHash)</code></pre>



<pre><code class="language-java">public RecommendationSeenEvent(@NonNull String label, @NonNull String productId, @NonNull String name,
                                   @NonNull String campaignId, @NonNull String campaignHash, @Nullable TrackerParams params)</code></pre>


**Methods:**  

There are no methods.

---
---

### RecommendationClickEvent
Class model for _recommendation click_ event.

**Declared In:**  
`com.synerise.sdk.event.model.ai.RecommendationClickEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-95">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-95-0" data-tab-group="tabgrp-95" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-95-1" data-tab-group="tabgrp-95">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-95-0" data-tab-group="tabgrp-95" data-tab-active="true">

```Java
public class RecommendationClickEvent extends RecommendationEvent
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-95-1" data-tab-group="tabgrp-95">

```Kotlin
class RecommendationClickEvent : RecommendationEvent
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **name** | String | no | - | Product name |
| **productId** | String | no | - | Product ID |
| **campaignId** | String | no | - | Recommendation campaign ID |
| **campaignHash** | String | no | - | Recommendation campaign hash |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"productId"`, `"name"`, `"category"`, `"url"`, `"campaignId"` , `"campaignHash"` keys are reserved by Synerise in params.

</div></div></div>


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public RecommendationClickEvent(@NonNull String label, @NonNull String productId, @NonNull String name,
                                    @NonNull String campaignId, @NonNull String campaignHash)</code></pre>



<pre><code class="language-java">public RecommendationClickEvent(@NonNull String label, @NonNull String productId, @NonNull String name,
                                    @NonNull String campaignId, @NonNull String campaignHash, @Nullable TrackerParams params)</code></pre>


**Methods:**  

There are no methods.

---
---

### VisitedScreenEvent
Class model for _visited screen_ event.

**Declared In:**  
`com.synerise.sdk.event.model.interaction.VisitedScreenEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-96">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-96-0" data-tab-group="tabgrp-96" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-96-1" data-tab-group="tabgrp-96">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-96-0" data-tab-group="tabgrp-96" data-tab-active="true">

```Java
public class VisitedScreenEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-96-1" data-tab-group="tabgrp-96">

```Kotlin
class VisitedScreenEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public VisitedScreenEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public VisitedScreenEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### HitTimerEvent
Class model for _hit timer_ event.  
Record a "customer hit timer" event. This could be used for profiling or activity time monitoring - you can send "hit timer"
when your customer starts doing something and send it once again when they finish, but this time with a different time signature.
Then you can use [Decision Hub](/docs/analytics) to measure, for example, average activity time.

**Declared In:**  
`com.synerise.sdk.event.model.interaction.HitTimerEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-97">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-97-0" data-tab-group="tabgrp-97" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-97-1" data-tab-group="tabgrp-97">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-97-0" data-tab-group="tabgrp-97" data-tab-active="true">

```Java
public class HitTimerEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-97-1" data-tab-group="tabgrp-97">

```Kotlin
class HitTimerEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public HitTimerEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public HitTimerEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### SearchedEvent
Class model for _client searched_ event.

**Declared In:**  
`com.synerise.sdk.event.model.interaction.SearchedEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-98">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-98-0" data-tab-group="tabgrp-98" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-98-1" data-tab-group="tabgrp-98">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-98-0" data-tab-group="tabgrp-98" data-tab-active="true">

```Java
public class SearchedEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-98-1" data-tab-group="tabgrp-98">

```Kotlin
class SearchedEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public SearchedEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public SearchedEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### SharedEvent
Class model for _client shared_ event.

**Declared In:**  
`com.synerise.sdk.event.model.interaction.SharedEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-99">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-99-0" data-tab-group="tabgrp-99" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-99-1" data-tab-group="tabgrp-99">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-99-0" data-tab-group="tabgrp-99" data-tab-active="true">

```Java
public class SharedEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-99-1" data-tab-group="tabgrp-99">

```Kotlin
class SharedEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hubs. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public SharedEvent(@NonNull String label)</code></pre>



<pre><code class="language-java">public SharedEvent(@NonNull String label, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### AppearedInLocationEvent
Class model for _appeared in location_ event.

**Declared In:**  
`com.synerise.sdk.event.model.interaction.AppearedInLocationEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-100">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-100-0" data-tab-group="tabgrp-100" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-100-1" data-tab-group="tabgrp-100">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-100-0" data-tab-group="tabgrp-100" data-tab-active="true">

```Java
public class AppearedInLocationEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-100-1" data-tab-group="tabgrp-100">

```Kotlin
class AppearedInLocationEvent : Event
```

</div>
</div>



<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

This event will be transformed into `client.location` in the database.

</div></div></div>


**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hub. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |
| **lon** | Double | no | - | Longitude |
| **lat** | Double | no | - | Latitude |


<div class="admonition admonition-note"><div class="admonition-icon"><svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2.5"><path stroke-linecap="round" stroke-linejoin="round" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" /></svg></div><div class="admonition-body"><div class="admonition-content">

The `"lat"` and `"lon"` keys are reserved by Synerise in params.

</div></div></div>


**Initializers:**  

The following constructors are available:


<pre><code class="language-java">public AppearedInLocationEvent(@NonNull String label, double lat, double lon)</code></pre>



<pre><code class="language-java">public AppearedInLocationEvent(@NonNull String label, double lat, double lon, @Nullable TrackerParams params)</code></pre>



**Methods:**  

There are no methods.

---
---

### CrashEvent
Class model for _crash_ event.

**Declared In:**  
`com.synerise.sdk.event.model.crash.CrashEvent`

**Declaration:**  

<div class="content-tabs code-tabs" data-tab-group="tabgrp-101">
<div class="tab-buttons"><button class="tab-button" data-tab-id="tabgrp-101-0" data-tab-group="tabgrp-101" data-tab-active="true">Java</button><button class="tab-button" data-tab-id="tabgrp-101-1" data-tab-group="tabgrp-101">Kotlin</button></div>

<div class="tab-panel" data-tab-id="tabgrp-101-0" data-tab-group="tabgrp-101" data-tab-active="true">

```Java
public class CrashEvent extends Event
```

</div>

<div class="tab-panel" data-tab-id="tabgrp-101-1" data-tab-group="tabgrp-101">

```Kotlin
class CrashEvent : Event
```

</div>
</div>



**Properties:**  

| Property | Type | Optional | Default | Description |
| --- | --- | --- | --- | --- |
| **label** | String | no | - | Can't be empty. This value isn't saved in persistent storage and can't be used in Decision or Automation Hub. It isn't shown on a Profile card. |
| **params** | TrackerParams | yes | - | Event tracker params |

**Initializers:**  

There is a constructor.


<pre><code class="language-java">public CrashEvent(@NonNull String label, @NonNull TrackerParams params)</code></pre>



**Methods:**  

There are no methods.