Take a photo in zoom apps

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
image
image
image

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

image

I did not find documentation of these methods and events in oficial Zoom Apps JS SDK reference)

The photo APIs and event are not yet released in the Zoom Apps SDK. Sorry for the confusion. They will be part of upcoming release.

2 Likes