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) |
org.json.JSONObject |
toJsonObject() |
public static FlexButtonComponent.Builder newBuilder(Action action)
public org.json.JSONObject toJsonObject()
throws org.json.JSONException
toJsonObject in interface JsonabletoJsonObject in class FlexMessageComponentorg.json.JSONException