qBool GetNumFollowers( ProtocolCallContext * pContext, const String & topic, qUnsignedInt32 * numFollowers );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | topic | Topic for which to get the number of followers. |
out | numFollowers | The number of followers. |
Value | Description |
---|---|
true | RMC call initialization succeeded. |
false | Failure. |
Gets the number of users following the specified topic.
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 reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS
.
CONFIDENTIAL