topics.getUnreadData doesn't take an array of pids. You should use Topics.hasReadTopics(tids, uid);
How get ID of a plugin
Anyone can suggest me any methods that I can use to get ID of a plugin? My purpose is check if in plugin1 ,plugin2 is active. Anyone can help me?
You can use Plugins.isActive method.