keepAlivePeriod property
Keep alive period, seconds. Keep alive is defaulted to off, this must be set to a valid value to enable keep alive.
Implementation
int keepAlivePeriod = MqttClientConstants.defaultKeepAlive;
Keep alive period, seconds. Keep alive is defaulted to off, this must be set to a valid value to enable keep alive.
int keepAlivePeriod = MqttClientConstants.defaultKeepAlive;