current
Get the latest occupancy data received from realtime events.
Return
The latest occupancy data, or undefined if no realtime events have been received yet.
Throws
Ably Exception
If occupancy events are not enabled for this room.
Get the latest occupancy data received from realtime events.
The latest occupancy data, or undefined if no realtime events have been received yet.
If occupancy events are not enabled for this room.