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>.ModifyBrightness (Function)
In french: <Variable upnpPériphérique>.ModifieLuminosité
Modifies the brightness 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
	Périphérique.ModifieLuminosité(50)
END
Syntax
<Result> = <UPnP device>.ModifyBrightness(<New value>)
<Result>: Boolean
  • True if the brightness was modified.
  • False otherwise.
<UPnP device>: upnpDevice variable
Name of the upnpDevice variable corresponding to the UPnP device to use.
<New value>: Integer
New brightness to apply. This parameter must be included between 0 and 100.
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