qBool UnfollowAllAndFollow( ProtocolCallContext * pContext, const qVector< String > & topics );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | topics | The new topics to follow. This function works the same as the SubscriberClient::UnfollowAll function if no new topics to follow are specified. |
Value | Description |
---|---|
true | RMC call initialization succeeded. |
false | Failure. |
Unfollows all topics the user is currently following and refollows the specified topics.
Use this function when you want to replace all of the topics that the user is currently following with the specified new topics.
The following results may be returned as a result of asynchronous operation. Pass errors to the Error/EULA applet. Errors must be removed during debugging.
QERROR(Subscriber, InvalidArgument)
: Invalid topic format.QERROR(Subscriber, OverLimit)
: The number of topics followed exceeds SubscriberConstants::MAX_FOLLOWING_SIZE
. The reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS
.
CONFIDENTIAL