Function: app.StopSound
Stops a looped sound.
Syntax
{
"method": "app.StopSound",
"params": {
"all": "...",
},
"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}AdvFuture<bool> StopSound( bool all );public Task<bool> StopSoundAsync(bool all, CancellationToken ct = default);stopSound(all: boolean): Promise<boolean>;Parameters
all : bool
Stop looped sound from every source, not only from scripts.
Result : bool
Always true.
Remarks
This method requires API control access.