PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of upnpDevice variables
  • Functions that use the upnpDevice variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
upnpDevice (Type of variable)
In French: upnpPériphérique
The upnpDevice type is used to define the advanced characteristics of a UPnP device. The characteristics of this UPnP device can be defined and modified by several WLanguage properties.
Note: See Declaring a variable for more details.
Example
MyDevice is upnpDevice
MyDevice = UPNPSearchDevice(CST_UPNP_UUID_SONY_BRAVIA, 51300)
IF ErrorOccurred THEN
ErrorInfo(errFullDetails)
ELSE
Add(m_arrDevice, MyDevice)
END
Remarks

Properties specific to the description of upnpDevice variables

The following properties can be used to handle a UPnP device:
Property nameType usedEffect
ProductCodeCharacter stringProduct code (UPC).
ModelDescriptionCharacter stringDescription of device features.
IconArray of upnpImageList of different available icons.
NameCharacter stringName of device.
ProducerNameCharacter stringName of manufacturer.
ModelNameCharacter stringName of model.
UniqueNameCharacter stringUnique name of device (UDN).
ModelNumberCharacter stringNumber of the model.
SerialNumberCharacter stringSerial number of the device.
ServiceArray of upnpServiceList of different available UPnP services.
TypeCharacter stringURI containing the type of device.
URLCharacter stringURL containing the XML for device description.
ProducerURLCharacter stringLink to the manufacturer site.
ModelURLCharacter stringURL of a Web page containing the information specific to the model.
PresentationURLCharacter stringURL of the Web page that can be used to control the device.
Note: These properties can be used with one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>

Functions that use the upnpDevice variables

Versions 19 and later
UPNPFindDevice
New in version 19
UPNPFindDevice
UPNPFindDevice
Finds a device based on its unique name (UDN).
Versions 19 and later
UPNPGetBrightness
New in version 19
UPNPGetBrightness
UPNPGetBrightness
Retrieves the brightness of a UPnP device
Versions 19 and later
UPNPGetContrast
New in version 19
UPNPGetContrast
UPNPGetContrast
Retrieves the contrast of a UPnP device
Versions 19 and later
UPNPGetMute
New in version 19
UPNPGetMute
UPNPGetMute
Retrieves the 'Mute' status of a UPnP device.
Versions 19 and later
UPNPGetSharpness
New in version 19
UPNPGetSharpness
UPNPGetSharpness
Retrieves the sharpness of a UPnP device.
Versions 19 and later
UPNPGetVolume
New in version 19
UPNPGetVolume
UPNPGetVolume
Retrieves the volume of a UPnP device.
Versions 19 and later
UPNPMediaOpen
New in version 19
UPNPMediaOpen
UPNPMediaOpen
Opens a media on the UPnP device.
Versions 19 and later
UPNPMediaPause
New in version 19
UPNPMediaPause
UPNPMediaPause
Pauses the reading of the current media on the UPnP device.
Versions 19 and later
UPNPMediaPlay
New in version 19
UPNPMediaPlay
UPNPMediaPlay
Starts reading the current media on the UPnP device.
Versions 19 and later
UPNPMediaStop
New in version 19
UPNPMediaStop
UPNPMediaStop
Stops reading the current media on the UPNP device.
Versions 19 and later
UPNPModifyBrightness
New in version 19
UPNPModifyBrightness
UPNPModifyBrightness
Modifies the brightness of a UPnP device.
Versions 19 and later
UPNPModifyContrast
New in version 19
UPNPModifyContrast
UPNPModifyContrast
Modifies the contrast of a UPnP device.
Versions 19 and later
UPNPModifyMute
New in version 19
UPNPModifyMute
UPNPModifyMute
Modifies the 'Mute' status of a UPnP device.
Versions 19 and later
UPNPModifySharpness
New in version 19
UPNPModifySharpness
UPNPModifySharpness
Modifies the sharpness of a UPnP device.
Versions 19 and later
UPNPModifyVolume
New in version 19
UPNPModifyVolume
UPNPModifyVolume
Modifies the volume of a UPnP device.
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment