public class FlexButtonComponent extends FlexMessageComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
FlexButtonComponent.Builder
FlexButtonComponent 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 FlexButtonComponent.Builder |
newBuilder(Action action) |
JSONObject |
toJsonObject() |
public static FlexButtonComponent.Builder newBuilder(@NonNull Action action)
@NonNull
public JSONObject toJsonObject()
throws JSONException
toJsonObject in interface JsonabletoJsonObject in class FlexMessageComponentJSONException