ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / DLNA/UPnP functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<upnpDevice variable>.GetContrast (Function)
In french: <Variable upnpPériphérique>.RécupèreContraste
Retrieves the contrast of a UPnP device.
Attention: To use this function, the device must have a "RenderingControl" service..
Example
tabPériphérique is array of upnpDevice 
tabPériphérique = UPNPListDevice(...
		"urn:schemas-upnp-org:device:MediaRenderer:1", 5)
FOR EACH Périphérique OF tabPériphérique
	Trace(Périphérique..Name + ": " + Périphérique.RécupèreContraste())
END
Syntax
<Result> = <UPnP device>.GetContrast()
<Result>: Integer
Contrast of the device, included between 0 and 100.
<UPnP device>: upnpDevice variable
Name of the upnpDevice variable corresponding to the UPnP device to use.
Component: wd300device.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/20/2024

Send a report | Local help