HoloPlayCore.Client
Constructor
const client = new HoloPlayCore.Client(
(msg) => {
console.log('Calibration values:', msg);
},
(err) => {
console.error('Error creating HoloPlay client:', err);
});const client = new HoloPlayCore.Client(
(msg) => {
console.log('Calibration values:', msg);
},
(err) => {
console.error('Error creating HoloPlay client:', err);
});let infoMsg = new HoloPlayCore.InfoMessage();
client.sendMessage(infoMsg)
.then(() => console.log('Response received'))
.catch((err) => console.log(err));client.disconnect();