Class POBProfileInfo

  • All Implemented Interfaces:

    
    public class POBProfileInfo
    
                        

    Model class which parses the profile JSON and provides the getter to access its fields.

    • Constructor Detail

      • POBProfileInfo

        POBProfileInfo()
    • Method Detail

      • getProfileId

         int getProfileId()

        Returns the Profile ID

        Returns:

        Profile ID

      • getCreatedDateTime

         long getCreatedDateTime()

        Returns the last time the profile was updated

        Returns:

        Time in milliseconds the profile was fetched

      • isCrashAnalyticsEnabled

         boolean isCrashAnalyticsEnabled()

        Whether to enable or disable crash-analytics

        Returns:

        True to enable crash-analytics false to disable

      • isAppInstallStatusEnabled

         boolean isAppInstallStatusEnabled()

        Returns app install feature status. When disabled, the SDK will not set the mraidappstatus parameter in the request and will return unknown status to JavaScript.

        Returns:

        True if app install status is enabled, false otherwise

      • build

         static POBProfileInfo build(@NonNull() JSONObject profileJsonObject)

        Initializes and returns POBProfileInfo object with given profile details

        Parameters:
        profileJsonObject - JSON object for the profile info
        Returns:

        Instance of POBProfileInfo

      • getPublisherId

         int getPublisherId()

        Returns the Pub ID

        Returns:

        Pub ID