Class POBCoreNativeRequestVideoAsset

    • Method Detail

      • getWidth

         final Integer getWidth()

        Video width in pixels, or null if unset (omitted from request JSON).

      • setWidth

         final Unit setWidth(Integer width)

        Video width in pixels, or null if unset (omitted from request JSON).

      • getHeight

         final Integer getHeight()

        Video height in pixels, or null if unset (omitted from request JSON).

      • setHeight

         final Unit setHeight(Integer height)

        Video height in pixels, or null if unset (omitted from request JSON).

      • getRTBJSON

         JSONObject getRTBJSON()

        Convert the asset object to JSONObject

        Returns:

        return the converted JSONObject

      • getMimes

         final Array<String> getMimes()

        Whitelist of content MIME types supported for video

        Video dimensions are not part of the data class primary constructor; assign width and height directly. They are excluded from equals/hashCode/toString generation. Calling copy produces a new instance with width and height unset until assigned again.