nn::nex::SubscriberPostContentParam::SetTopic Member Function

Syntax

void SetTopic(
     const String & topic
);

Parameters

Name Description
in topic Post topic.

Return Values

None.

Description

Sets a single topic to post content to.

Shortcut function. Using this overload is more convenient when you only want to set a single topic. Specify a topic string with the format "r/reserved topic number". Specify an integer from 0 to (NUM_RESERVED_TOPICS - 1) for the reserved topic number. Use the SubscriberUtil::ReservedTopicNumToTopicString function to create a reserved topic number from a topic string. The initial value is empty.

Revision History

2014/09/12
Initial version.

CONFIDENTIAL