Enum POBDataType.POBAdState

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DEFAULT

      Default state of an Ad. Next state could be LOADING on calling loadAd()

      LOAD_DEFERRED

      Defines the state when Loading of the ad has been deferred

      LOADING

      Defines the state when SDK is loading bid from OW and client-side partners Next state could be BID_RECEIVED or BID_FAILED

      READY

      Defines the state when OW SDK renders tha ad and it is ready to show it to user. Next state could be EXPIRED

      SHOWING

      Defines the state when rendered ad is currently showing to the user.

      SHOWN

      Defines the state when rendered ad is shown to the user and ad is dismissed. This is the last state of the Ad

      AD_SERVER_READY

      Defines the state when Ad server SDK renders tha ad and it is ready to show it to user. Next state could be EXPIRED

      EXPIRED

      Defines the state when ad loaded from OW SDK is expired. This is the last state of the Ad other than SHOWN

      BID_RECEIVED

      This is an conditional state, only when publisher has set bidEventListener. Defines the state when bid is loaded from OW SDK / client-side partner and is notified to publisher via bidEventListener. Next state could be

      BID_FAILED

      Defines the state when ad loaded from OW SDK is expired. This is the last state of the Ad other than SHOWN

      DESTROYED

      Defines the state when an ad has been destroyed and can't be used any more.

    • Method Summary

      Modifier and Type Method Description
      static Array<POBDataType.POBAdState> values() Returns an array containing the constants of this enum type, in the order they're declared.
      static POBDataType.POBAdState valueOf(String name) Returns the enum constant of this type with the specified name.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • values

         static Array<POBDataType.POBAdState> values()

        Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

        Returns:

        an array containing the constants of this enum type, in the order they're declared

      • valueOf

         static POBDataType.POBAdState valueOf(String name)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

        Returns:

        the enum constant with the specified name