Class POBNativeRequestTitleAsset

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final int length
      public final int id
    • Constructor Summary

      Constructors 
      Constructor Description
      POBNativeRequestTitleAsset(int id, boolean required, int length) Helps to create POBNativeRequestTitleAsset object
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      int getLength() Getter for length of the text
      JSONObject getRTBJSON()
      • Methods inherited from class com.pubmatic.sdk.nativead.request.POBBaseNativeRequestAsset

        getId, isRequired
      • Methods inherited from class java.lang.Object

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

      • POBNativeRequestTitleAsset

        POBNativeRequestTitleAsset(int id, boolean required, int length)
        Helps to create POBNativeRequestTitleAsset object
        Parameters:
        id - of native request
        required - indicates if the asset is required to be displayed
        length - of text
    • Method Detail

      • getLength

         int getLength()

        Getter for length of the text

        Returns:

        length of the text