Bus names

Hi
From a hosting perspective, is it possible to get the name of an IO bus from a plugin. like AUX, Side Chain, Etc?

Sure:

AudioProcessor::getBus (direction, busIdx)->getName()