-
- All Implemented Interfaces:
-
java.io.Serializable
public class InAppComponent implements Serializable
Represents a component within an in-app message.
This abstract class serves as the base for various UI components that can be included in an in-app message, such as text, buttons, images, dividers, and column layouts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumInAppComponent.TypeRepresents the type of the component.
public interfaceInAppComponent.ColumnRepresents a component that can be part of a column layout.
public interfaceInAppComponent.FontDecorationComponentInterface for components that can have text decorations applied.
public final classInAppComponent.TextRepresents a text component within an in-app message.
This class defines the properties and styling options for a text element. It inherits from InAppComponent and implements the Column interface, indicating that it's a component and can be part of a column layout.
public final classInAppComponent.ButtonRepresents a button component within an in-app message.
This class defines the properties and styling options for a button element. It inherits from InAppComponent and implements the Column interface, indicating that it's a component and can be part of a column layout.
public final classInAppComponent.ImageRepresents 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.
public final classInAppComponent.DividerRepresents a divider component within an in-app message.
This class defines the properties and styling options for a divider element. It inherits from InAppComponent and implements the Column interface, indicating that it's a component and can be part of a column layout.
public final classInAppComponent.EmptySpacerRepresents an empty spacer component within n Columns component message.
public final classInAppComponent.SpacerRepresents a vertical spacer component to fill the space available.
public final classInAppComponent.ColumnsRepresents a column layout component within an in-app message.
This class defines the properties and styling options for a column layout element. It inherits from InAppComponent and implements the Column interface, indicating that it's a component and can be part of a column layout.
public final classInAppComponent.WebViewRepresents a web view component within an in-app message.
This class defines the properties for a web view element. It inherits from InAppComponent.
-
Field Summary
Fields Modifier and Type Field Description private final InAppComponent.Typetype
-
Method Summary
Modifier and Type Method Description final InAppComponent.TypegetType()-
-
Method Detail
-
getType
final InAppComponent.Type getType()
-
-
-
-