Search: "unsubscribe"
Connect sub-devices to IoT Platform - IoT Platform Documentation
*pcontext); /** * @brief Gateway Unsubscribe * This function is used to unsubscribe from some topics. * * @param handle pointer to specify the Gateway. * @param topic list. * * @return 0, Unsubscribe success; -1, Unsubscribe fail. */ int IOT_Gateway_Unsubscribe ...
Android SDK - IoT Platform Documentation
, subscribe, and unsubscribe. /** * @param request Specifies the base class of the request that you want to send. The); /** Unsubscribe from downstream messages. * @param topic * @param listener */ void unSubscribe(String topic,IOnSubscribeListener ...
Establish MQTT over TCP connections - IoT Platform Documentation
response parameter declaration is as follows: /** * @brief Unsubscribe MQTT topic. * * @param [in] handle: specify the MQTT client. * @param [in] topic_filter: specify the topic filter. * * @retval -1 : Unsubscribe failed. * @retval =0 : Unsubscribe ...
HTTP/2 SDK - IoT Platform Documentation
*/ CompletableFuture subscribe(String topic, MessageCallback messageCallback); /** * unsubscribe a topic * * @param topic topic * @return completableFuture for unsubscribe result */ CompletableFuture unsubscribe(String topic ...
Consumer instance interface - Message Queue (MQ Documentation
. listener MessageListener Message callback listener Return value: null unsubscribeSyntax: void unsubscribe(String topic subscribed to. listener MessageOrderListener Message callback listener Return value: null unsubscribeSyntax: void unsubscribe ...
Publish and subscribe messages - ApsaraDB for Redis Documentation
unsubscribe(String channel) @ Override public void run() catch(Exception e) } } For the message listener;quit" in listener.onMessage(), the "unsubscribe" operation is performed. pubClient.close(channel ...
iOS SDK - IoT Platform Documentation
unsubscribe. The upstream request can only be used after the SDK is initialized and a connection is established. */ - (void)subscribe:(NSString *)topic complete: (void (^)(NSError * _Nullable error))completionHandler; /** Unsubscribe from ...
Limitations - IoT Platform Documentation
After you subscribe to or unsubscribe from a topic, the change will take effect in 10 seconds. Subscriptions remain in effect until you unsubscribe from the topic. We recommend that you subscribe to topics in advance to avoid missing information. Example: A ...
C SDK - IoT Platform Documentation
packet to the server. 9 IOT_MQTT_Unsubscribe Creates a complete MQTT UnSubscribe. 7 IOT_Gateway_Unsubscribe Creates an MQTT UnSubscribe packet and sends this packet ...
Topic Interface - Message Service Documentation
Unsubscribe Deletes a subscription. Console and APIs ListSubscriptionByTopic Obtains the subscription list of a topic. Console and ...