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
Retrieves 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
Trace(Device..Name + ": " + UPNPGetVolume(Device))
END
Syntax
<Result> = UPNPGetVolume(<UPnP device>)
<Result>: Integer
Volume of the device (between 0 and 100).
<UPnP device>: upnpDevice variable
Name of upnpDevice variable corresponding to the UPnP device to use.
Component: wd300device.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help