Attach to a new topic
Your application can create an attachment to a new topic.
The attachNewTopic
method creates an attachment to a new
topic. For information about the attachmentInput
argument, see
Attach to an
existing topic.
attachNewTopic method
TopicResult attachNewTopic(TopicsServiceContext topicsServiceContext,
TopicInput topicInput, AttachmentInput attachmentInput)
throws InvalidArgumentException, TopicsServiceException;
To create an attachment to a new topic:
- TopicInput value object
TheTopicInput
value object has the required name field for the topic name and optional parameters.
Parent topic: Methods