How to set a Category on a dynamically created channel?

When a channel is created statically via an xml definition, the xml can have a <category> element. However if you create a channel dynamically via a ChannelBuilder, there seems to be no ChannelBuilder.withCategory() method. So is there another way to set a Category?

1 Like

Category is available for ChannelType and its builder.

1 Like