PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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.
Versions 24 and later
Android This function is now available for Android applications.
New in version 24
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Example
gMqttSession is mqttSession
...
gMqttSession.Unsubscribe("sensors/sensor1/temperature1")
Syntax
<Result> = <MQTT session>.Unsubscribe(<Topic>)
<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.
<Topic>: Character string
Topic for which the unsubscription is requested.
Business / UI classification: Business Logic
Component: wd270com.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment