Hello,
I'm having an issue with the following ifDeviceInfo methods:
GetAdvertisingId() as String
IsAdIdTrackingDisabled() as Boolean
Here is some very simple code demonstrating how I'm trying to use them within my channel.
di = CreateObject("roDeviceInfo")
if (not di.IsAdIdTrackingDisabled())
rokuAdId = di.GetAdvertisingId()
end if
However, when I run the code, I get the following error:
Member function not found in BrightScript Component or interface. (runtime error &hf4) in ...kUd/pkg:/source/Ads.brs(105)
105: rokuAdId = di.IsAdIdTrackingDisabled()
Also, when doing some additional testing, I get the following error if I omit the if statement with the IsAdIdTrackingDisabled() method:
Member function not found in BrightScript Component or interface. (runtime error &hf4) in ...kUd/pkg:/source/Ads.brs(105)
105: rokuAdId = di.GetAdvertisingId()
I'm not sure if firmware version is the same as the software version that displays in the About option on the roku, but the software version is 5.6 build 60. Additionally, I'm able to utilize GetCountryCode() which should mean that I have at least firmware version 4.3.
This is a link the documentation that says I should be able to use these methods:
http://sdkdocs.roku.com/display/sdkdoc/ ... IdasStringAny insight/help/ideas/anything would be appreciated. Thanks.