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