How to get category full name?


(difei) #1

i can get event’s category by
_event->getCategory(&_eventcate);
_eventcate->getInfo(0, &cate_name);

but for event /e1/ee1/eee1, which belongs to /c1/cc1/ccc1,
the cate_name only provides, ccc1,
how can I get the full path /c1/cc1/ccc1?


(difei) #2

I found out that getParentCategory till reaches “master” seems can solve this problem.