Enum SizeConstraint.SizeConstraintType
-
- All Implemented Interfaces:
-
com.monetization.ads.nativeads.template.appearance.NativeTemplateSizeConstraint.NativeTemplateSizeConstraintTypeProvider,java.io.Serializable,kotlin.Comparable
public enum SizeConstraint.SizeConstraintType extends Enum<SizeConstraint.SizeConstraintType> implements NativeTemplateSizeConstraint.NativeTemplateSizeConstraintTypeProvider
Constraint type.
FIXED defines fixed size which never changes. FIXED_RATIO defines fixed asset size to banner size ratio which never changes. PREFERRED_RATIO defines asset size to banner size ratio which may change to fit real image size.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FIXEDFIXED_RATIOPREFERRED_RATIO
-
Method Summary
Modifier and Type Method Description final SizeConstraint.SizeConstraintTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<SizeConstraint.SizeConstraintType>values()Returns an array containing the constants of this enum type, in the order they're declared. NativeTemplateSizeConstraint.NativeTemplateSizeConstraintTypegetType()-
-
Method Detail
-
valueOf
final SizeConstraint.SizeConstraintType valueOf(String value)
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.)
-
values
final Array<SizeConstraint.SizeConstraintType> 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.
-
getType
NativeTemplateSizeConstraint.NativeTemplateSizeConstraintType getType()
-
-
-
-