qBool GetTimeline( ProtocolCallContext * pContext, const SubscriberGetTimelineParam & param, qVector< SubscriberContent > * contents );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | param | Detailed information. |
out | contents | The retrieved pieces of content. |
Value | Description |
---|---|
true | RMC call initialization succeeded. |
false | Failure. |
Gets the timeline.
The content in the timeline is in descending order by content ID. The timeline contains a list of content posted to topics that the user is following in chronological order by post date. This function can get the timeline for any user. The function gets a blank content object if the user has not followed any topics. 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.
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): 0
was specified as the retrieval size.
CONFIDENTIAL