---
title: roBtClientEvent
slug: develop/robtclientevent
docTags: 
createdAt: 2025-03-11T07:07:18.731Z
---

This event object is generated by an *roBtClient* object when a BLE client updates the *roBtClient* state or sends a command.

## ifBtClientEvent

### GetEvent() As String

Returns the event name, which can currently be `"client-update"` or `"client-command"`

### GetParam() As String

Returns the event data as a string

## ifUserData

### SetUserData(user\_data As Object) As Void

Sets the user data

### GetUserData() As Object

Returns the user data that has previously been set via `SetUserData()` (on either the event or source object). It will return `Invalid` if no data has been set.
