Interface IPolyRoomListener
com.poly.polyos.room
Interface IPolyRoomListener
public interface
IPolyRoomListener
Listener to get callback about incoming messages.
Since:
3.0.31
Method Summary
Modifier and Type | Method and Description |
---|---|
void | onMessage(java.lang.String message) |
Called to deliver messages from the companion app (of this app) | |
void | onRoomDevicesChanged() |
Called to notify that some devices are paired/unpaired in the room with this device |
Method Detail
onMessage
void onMessage(java.lang.String message)
Called to deliver message from the companion app (of this app)
Parameters:
message
- The message received
onRoomDevicesChanged
void onRoomDevicesChanged()
Called to notify that some devices are paired/unpaired in the room with this device.
Call IPolyRoomService.getPairedDevices()
to get the current set of paired devices.
Since:
3.0.38