openVoicePanel
openVoicePanel(
openVoicePanelOptions?):boolean
Opens the voice panel the player app draws over the game, at player’s
row where one is given, as a game’s own menu or player list offers it.
The panel is the platform’s: it holds the player’s microphone, devices,
volumes, mutes, blocks and reports, none of which a game changes. False,
doing nothing, where the page runs outside the app’s frame, as on a
game’s dev server, whose voice rows are in the engine’s Settings.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
openVoicePanelOptions |
OpenVoicePanelOptions |
Returns
Section titled “Returns”boolean
Example
Section titled “Example”<Button onClick={() => openVoicePanel({ player })}>Voice</Button>