qBool DeleteContent( ProtocolCallContext * pContext, const qVector< String > & topics, qUnsignedInt64 contentId );
Name | Description | |
---|---|---|
in | pContext | Call information. |
in | topics | The topics for which to delete content. |
out | contentId | The content ID of the content to delete. |
Value | Description |
---|---|
true | RMC call initialization succeeded. |
false | Failure. |
Deletes content.
Deletes content in the specified topics. If multiple topics were specified when the content was posted, you must specify all of those topics to delete the content from all of them. If you do not specify one or more of the topics that were specified when the content was posted, the content will not be deleted from those topics. This function can only delete content that was posted by the local user. If no content is found in the specified topics, they are ignored and the function ends successfully.
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)
: No topics have been specified. Invalid topic format. QERROR(Subscriber, OverLimit)
: The reserved topic number exceeds SubscriberConstants::NUM_RESERVED_TOPICS
. QERROR(Subscriber, PermissionDenied)
: Content was not posted by the local user.
CONFIDENTIAL