Closed jakubfrydrych closed 4 years ago
Hi,
The IMA SDK only determines if the current ad is linear or not once it is loaded. You can retrieve such value by calling the isLinear() method on the current ad object. An example would be to call the line below inside the onAdEvent function of our advanced example sample.
event.getAd().isLinear()
Thank you very much for your answer
Hello, I want to ask if you can use a method to find out if it's a linear or nonlinear type of ad. Currently I use to determine the content type from which I derive whether it is an image or video data (like image/png or mp4 etc..)
And whether it is possible to find out somehow through the values provided by adsManager through the getCuePoints() method, which returns tag times, but I am not able to tell whether it will be linear or nonlinear. An example of use is needed to render markers on a timeline where it is not desired to render an overlay marker.
Thank you very much in advance for your reply.