---
title: roBtClientManagerEvent
slug: develop/robtclientmanagerevent
docTags: 
createdAt: 2025-03-11T07:07:18.731Z
---

This event object is generated by the  [roBtClientManager](docId\:j-50zRJY-jTWE5E5SWoO-) object when a BLE client connects to or disconnects from the player.

## ifBtEvent

### GetEvent() As String

Returns the name of the event, which can be one of the following:

- `"client-new"`: This value is returned the first time a client connects only.
- `"client-delete"`: This value is returned when a client reaches the `client-timeout` interval and is disconnected.

### GetClient() As roBtClient

Returns the [roBtClient](docId\:fDPNJsZ_TkIciApE63OL9) object for the client associated with the event.

## 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.
