コード例 #1
0
 @Override
 public void unsubscribeFromTopic(Long topicId, boolean forceSync)
     throws UnavailableTopicException {
   checkClientState(State.STARTED, "Kaa client isn't started");
   notificationManager.unsubscribeFromTopic(topicId, forceSync);
 }
コード例 #2
0
 @Override
 public void subscribeToTopics(List<Long> topicIds, boolean forceSync)
     throws UnavailableTopicException {
   checkClientState(State.STARTED, "Kaa client isn't started");
   notificationManager.subscribeToTopics(topicIds, forceSync);
 }