-
- All Implemented Interfaces:
-
com.batch.android.messaging.model.cep.InAppComponent.Column,java.io.Serializable
public final class InAppComponent.Image extends InAppComponent implements InAppComponent.Column, Serializable
Represents an image component within an in-app message.
This class defines the properties and styling options for an image element. It inherits from InAppComponent and implements the Column interface, indicating that it's a component and can be part of a column layout.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumInAppComponent.Image.AspectRatioRepresents the aspect ratio of the image.
-
Field Summary
Fields Modifier and Type Field Description private final Stringidprivate final InAppProperty.Sizeheightprivate final InAppProperty.Marginmarginsprivate final InAppComponent.Image.AspectRatioaspectRatioprivate final InAppProperty.CornerRadiusradiusprivate final InAppComponent.Typetype
-
Constructor Summary
Constructors Constructor Description InAppComponent.Image(String id, InAppProperty.Size height, InAppProperty.Margin margins, InAppComponent.Image.AspectRatio aspectRatio, InAppProperty.CornerRadius radius)
-
Method Summary
Modifier and Type Method Description final StringgetId()final InAppProperty.SizegetHeight()final InAppProperty.MargingetMargins()final InAppComponent.Image.AspectRatiogetAspectRatio()final InAppProperty.CornerRadiusgetRadius()final InAppComponent.TypegetType()-
-
Constructor Detail
-
InAppComponent.Image
InAppComponent.Image(String id, InAppProperty.Size height, InAppProperty.Margin margins, InAppComponent.Image.AspectRatio aspectRatio, InAppProperty.CornerRadius radius)
-
-
Method Detail
-
getHeight
final InAppProperty.Size getHeight()
-
getMargins
final InAppProperty.Margin getMargins()
-
getAspectRatio
final InAppComponent.Image.AspectRatio getAspectRatio()
-
getRadius
final InAppProperty.CornerRadius getRadius()
-
getType
final InAppComponent.Type getType()
-
-
-
-