Hides the captions (automatic subtitles) panel at the bottom of the screen.
sambaFrame.hideCaptions();
Sample use case:
Have a completely custom toolbar in your integration and you want user to be able to show/hide captions panel from a custom button in your toolbar.
Often used in conjunction with showCaptions method.