@gphone/sdk
Preparing search index...
useSound
Function useSound
useSound
()
:
{
play
:
(
effect
:
SoundEffect
)
=>
void
}
The phone's sound effects.
Returns
{
play
:
(
effect
:
SoundEffect
)
=>
void
}
play
:
(
effect
:
SoundEffect
)
=>
void
Play one of the phone's built-in effects. Silent while muted.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@gphone/sdk
Loading...
The phone's sound effects.