Interface SelectedAd

  • All Implemented Interfaces:
    android.os.Parcelable , com.naver.ads.video.player.ImpressionTrackingProvider , com.naver.ads.video.player.TrackingProvider , com.naver.ads.video.vast.ResolvedAd

    
    public interface SelectedAd
     implements ResolvedAd
                        

    The object that holds the data corresponding to the main ad that was finally selected.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class SelectedAd.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Integer getLinearBitrate() The media bitrate in Kbps of the selected creative if linear, else returns 0.
      abstract Integer getLinearWidth() The media width in pixels of the selected creative if linear, else returns 0.
      abstract Integer getLinearHeight() The media height in pixels of the selected creative if linear, else returns 0.
      abstract Integer getNonLinearWidth() The width of the selected creative if not-linear, else returns 0.
      abstract Integer getNonLinearHeight() The height of the selected creative if not-linear, else returns 0.
      abstract Boolean isLinear() Indicates whether the ad's current mode of operation is linear or non-linear.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • getLinearBitrate

         abstract Integer getLinearBitrate()

        The media bitrate in Kbps of the selected creative if linear, else returns 0.

      • getLinearWidth

         abstract Integer getLinearWidth()

        The media width in pixels of the selected creative if linear, else returns 0.

      • getLinearHeight

         abstract Integer getLinearHeight()

        The media height in pixels of the selected creative if linear, else returns 0.

      • getNonLinearWidth

         abstract Integer getNonLinearWidth()

        The width of the selected creative if not-linear, else returns 0.

      • getNonLinearHeight

         abstract Integer getNonLinearHeight()

        The height of the selected creative if not-linear, else returns 0.

      • isLinear

         abstract Boolean isLinear()

        Indicates whether the ad's current mode of operation is linear or non-linear. Currently non-linear ads are not implemented and this will always return true.