Exemplo n.º 1
0
        private void unsubscribeFromTopics(string[] topics)
        {
            if (!isConnected())
            {
                return;
            }

            try
            {
                for (int i = 0; i < topics.Length; i++)
                {
                    mqttConnection.unsubscribe(topics[i], null);
                }
            }
            catch (ArgumentException e)
            {
                //			Log.e("HikeMqttManager", "IllegalArgument trying to unsubscribe", e);
            }
        }