I am creating my own channel for Roku. I need to get the streams of my videos and ads pod. Code wrote in .xml or task node file -
adIface = Roku_Ads()
adIface.setAdUrl(adUrl)
adPods = adIface.getAds()
shouldPlayContent = adIface.showAds(adPods)
This code working fine in main.brs file but in .xml file or task node generate error- " 'Dot' Operator attempted with invalid BrightScript Component or interface reference. (runtime error &hec) in roku_ads_lib:/Roku_Ads.brs(2762) 2762: ??" . Please give me solution.