Class POBNativeAdTitleResponseAsset

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getTitle() Returns the title of the ad
      int getLength() Returns the length of the title
      String toString() Converts the object to a readable string
      • Methods inherited from class com.pubmatic.sdk.nativead.response.POBNativeAdResponseAsset

        getAssetId, getLink, isRequired
      • Methods inherited from class java.lang.Object

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

      • POBNativeAdTitleResponseAsset

        POBNativeAdTitleResponseAsset(int assetId, boolean required, POBNativeAdLinkResponse link, String title, int length)
        Creates the instance of the class which stores the data passed in title object of response
        Parameters:
        assetId - Integer
        required - Boolean
        link - POBNativeAdLinkResponse
        title - String
        length - Integer
    • Method Detail

      • getLength

         int getLength()

        Returns the length of the title

        Returns:

        Integer

      • toString

        @NonNull() String toString()

        Converts the object to a readable string

        Returns:

        Stringified object