public class FlexSeparatorComponent extends FlexMessageComponent
FlexBlockStyle, the FlexSeparatorComponent allows you to add a separator between components instead of container block, as well as full control on separator margin.| Modifier and Type | Class and Description |
|---|---|
static class |
FlexSeparatorComponent.Builder
FlexSeparatorComponent builder static inner class. |
FlexMessageComponent.Alignment, FlexMessageComponent.AspectMode, FlexMessageComponent.AspectRatio, FlexMessageComponent.Gravity, FlexMessageComponent.Height, FlexMessageComponent.Layout, FlexMessageComponent.Margin, FlexMessageComponent.Size, FlexMessageComponent.Style, FlexMessageComponent.Type, FlexMessageComponent.WeightFLEX_VALUE_NONE, type| Constructor and Description |
|---|
FlexSeparatorComponent() |
| Modifier and Type | Method and Description |
|---|---|
static FlexSeparatorComponent.Builder |
newBuilder() |
JSONObject |
toJsonObject() |
public static FlexSeparatorComponent.Builder newBuilder()
@NonNull
public JSONObject toJsonObject()
throws JSONException
toJsonObject in interface JsonabletoJsonObject in class FlexMessageComponentJSONException