« Back to Product

Documentation

WAC_SetVolume

 boolean WAC_SetVolume (int $InstanceID, int $Volume) 

Parameters

InstanceID

ID of the controlled media player

Volume

0-100 (%)

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

Fades the volume from the media player with the ID InstanceID within 500ms to the desired volume.

Example

WAC_SetVolume(12345, 85);
Any questions?