I would like to create a zoom app that can take photos of participants interactively
Configure the panel of the zoom app as follows
In zoom app / feactures / Client
const buttonImage = document.getElementById('takePhoto');
buttonImage.addEventListener('click', async () => {
const image = await app.sdk.takeMyPhoto();
console.log(image);
});
app.sdk.onPhoto(async ({ participantId, photo }) => {
console.log("participantId", participantId);
console.log("photo", photo);
});
Result when click in button
I did not find documentation of these methods and events in oficial Zoom Apps JS SDK reference)