nn::nex::SubscriberClient::GetContent Member Function

Syntax

qBool GetContent(
     ProtocolCallContext * pContext,
     const SubscriberGetContentParam & param,
     qVector< SubscriberContent > * contents
);

Parameters

Name Description
in pContext Call information.
in param Detailed information.
out contents The retrieved pieces of content.

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Gets the content posted in a topic.

Gets the content posted in a topic in descending order by content ID. Content IDs are issued in the order that the content is posted and are strictly increasing. The post date and time included in the content may be off by several seconds, however. Note that these timestamps may not reflect the exact order in which content was posted. Content with a smaller ID than the content with the largest ID that was obtained the last time content was retrieved may be inserted later due to differences in processing time on the server.

In rare cases, this function may be called with a frequency outside of the call frequency range specified in the guidelines. For the limits on call frequency for this function, see the guidelines. However, stop polling and avoid unnecessary access as much as possible if you transition to a scene where the information that is retrieved with this function is not used. Use the SubscriberClient::GetTimeline function rather this function if you want to view the posts for several topics at once.

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. Specified 0 as the number of items to get.

QERROR(Subscriber, OverLimit): The reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS.

Revision History

2014/09/12
Initial version.

CONFIDENTIAL