Package 

Class InAppComponent

  • 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 enum InAppComponent.Type

      Represents the type of the component.

      public interface InAppComponent.Column

      Represents a component that can be part of a column layout.

      public interface InAppComponent.FontDecorationComponent

      Interface for components that can have text decorations applied.

      public final class InAppComponent.Text

      Represents 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 class InAppComponent.Button

      Represents 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 class InAppComponent.Image

      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.

      public final class InAppComponent.Divider

      Represents 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 class InAppComponent.EmptySpacer

      Represents an empty spacer component within n Columns component message.

      public final class InAppComponent.Spacer

      Represents a vertical spacer component to fill the space available.

      public final class InAppComponent.Columns

      Represents 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 class InAppComponent.WebView

      Represents a web view component within an in-app message.

      This class defines the properties for a web view element. It inherits from InAppComponent.

    • Method Summary

      Modifier and Type Method Description
      final InAppComponent.Type getType()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait