Package org.prebid.mobile
Enum NativeData.Type
-
- All Implemented Interfaces:
public enum NativeData.TypeEnum type of native data.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SPONSORED_BYDESCRIPTIONCALL_TO_ACTIONRATINGCUSTOM
-
Method Summary
Modifier and Type Method Description static NativeData.TypegetFromTypeNumber(int typeNumber)static intgetNumberFromType(NativeData.Type type)static Array<NativeData.Type>values()Returns an array containing the constants of this enum type, in the order they're declared. static NativeData.TypevalueOf(String name)Returns the enum constant of this type with the specified name. -
-
Method Detail
-
getFromTypeNumber
static NativeData.Type getFromTypeNumber(int typeNumber)
-
getNumberFromType
static int getNumberFromType(NativeData.Type type)
-
values
static Array<NativeData.Type> 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 NativeData.Type 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
-
-
-
-