toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-mqtt-api-paho
/
com.mapbox.dash.mqtt.paho
/
PahoMqttClient
Paho
Mqtt
Client
class
PahoMqttClient
(
val
client
:
MqttClient
)
:
DashMqttClient
Members
Constructors
Paho
Mqtt
Client
Link copied to clipboard
constructor
(
client
:
MqttClient
)
Properties
client
Link copied to clipboard
val
client
:
MqttClient
Functions
close
Link copied to clipboard
open
override
fun
close
(
)
connect
Link copied to clipboard
open
override
fun
connect
(
)
is
Connected
Link copied to clipboard
open
override
fun
isConnected
(
)
:
Boolean
publish
Link copied to clipboard
open
override
fun
publish
(
topic
:
String
,
message
:
String
)
open
override
fun
<
T
>
publish
(
topic
:
String
,
serializer
:
KSerializer
<
T
>
,
value
:
T
)
register
Link copied to clipboard
open
override
fun
register
(
topic
:
String
,
listener
:
DashMqttMessageListener
)
set
Callback
Link copied to clipboard
open
override
fun
setCallback
(
callback
:
DashMqttCallback
?
)
subscribe
Link copied to clipboard
open
override
fun
subscribe
(
vararg
topics
:
String
)
unregister
Link copied to clipboard
open
override
fun
unregister
(
topic
:
String
,
listener
:
DashMqttMessageListener
)