ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / MQTT 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
Allows you to unsubscribe from a MQTT notification.
Example
gMqttSession is mqttSession
...
gMqttSession.Unsubscribe("sensors/sensor1/temperature1")
Syntax
<Result> = <MQTT session>.Unsubscribe(<Subject>)
<Result>: Boolean
  • True if the unsubscription is implemented,
  • False otherwise. ErrorInfo returns more details.
<MQTT session>: mqttSession variable
Name of mqttSession variable corresponding to the MQTT session to use.
<Subject>: Character string
Topic for which the unsubscription is requested.
Business / UI classification: Business Logic
Component: wd290com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help