ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / DLNA/UPnP functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
<upnpDevice variable>.ModifyVolume (Function)
In french: <Variable upnpPériphérique>.ModifieVolume
Change the volume of a UPnP device.
Caution: To use this function, the device must include a "RenderingControl" service.
Example
arrDevice is array of upnpDevices
arrDevice = UPNPListDevice(...
"urn:schemas-upnp-org:device:MediaRenderer:1", 5)
FOR EACH Device OF arrDevice
Device.ModifyVolume(50)
END
Syntax
<Result> = <UPnP device>.ModifyVolume(<New value>)
<Result>: Boolean
  • True if the volume was modified,
  • False otherwise.
<UPnP device>: upnpDevice variable
Name of upnpDevice variable corresponding to the UPnP device to use.
<New value>: Integer
New volume to apply. This parameter must be included between 0 and 100.
Component: wd290device.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/20/2023

Send a report | Local help