How to implement a toggleFullScreen functionality for the IFrame API?

I need to implement a toggleFullScreen functionality for the IFrame API.

I have read the User Guide:

and checked the source code for available functions:

but don’t see anything in there that allow me to toggle the Full Screen mode On/Off.

Do you have any idea on how could I implement this functionality? I think it is a common use case.

Any help on this will be welcome.

Thanks!

setLargeVideoParticipant
toggleTileView