Enum POBDataType.POBAdState
-
- All Implemented Interfaces:
public enum POBDataType.POBAdState(Internal for OpenWrap SDK)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTDefault state of an Ad. Next state could be LOADING on calling loadAd()
LOAD_DEFERREDDefines the state when Loading of the ad has been deferred
LOADINGDefines the state when SDK is loading bid from OW and client-side partners Next state could be BID_RECEIVED or BID_FAILED
READYDefines the state when OW SDK renders tha ad and it is ready to show it to user. Next state could be EXPIRED
SHOWINGDefines the state when rendered ad is currently showing to the user.
SHOWNDefines the state when rendered ad is shown to the user and ad is dismissed. This is the last state of the Ad
AD_SERVER_READYDefines the state when Ad server SDK renders tha ad and it is ready to show it to user. Next state could be EXPIRED
EXPIREDDefines the state when ad loaded from OW SDK is expired. This is the last state of the Ad other than SHOWN
BID_RECEIVEDThis 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_FAILEDDefines the state when ad loaded from OW SDK is expired. This is the last state of the Ad other than SHOWN
DESTROYEDDefines 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.POBAdStatevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
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
-
-
-
-