public class FlexBoxComponent extends FlexMessageComponent
For more information, please refer to box
| Modifier and Type | Class and Description |
|---|---|
static class |
FlexBoxComponent.Builder
FlexBoxComponent 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| Modifier and Type | Method and Description |
|---|---|
static FlexBoxComponent.Builder |
newBuilder(FlexMessageComponent.Layout layout,
java.util.List<FlexMessageComponent> contents) |
JSONObject |
toJsonObject() |
public static FlexBoxComponent.Builder newBuilder(@NonNull FlexMessageComponent.Layout layout, @NonNull java.util.List<FlexMessageComponent> contents)
@NonNull
public JSONObject toJsonObject()
throws JSONException
toJsonObject in interface JsonabletoJsonObject in class FlexMessageComponentJSONException