public class FlexCarouselContainer extends FlexMessageContainer
The maximum size of the carousel container is 50 KB. The total size of the bubble containers in the carousel container must be within 50 KB.
FlexMessageContainer.Typetype| Constructor and Description |
|---|
FlexCarouselContainer(java.util.List<FlexBubbleContainer> contents)
Creates a carousel container with given information
|
| Modifier and Type | Method and Description |
|---|---|
org.json.JSONObject |
toJsonObject() |
public FlexCarouselContainer(java.util.List<FlexBubbleContainer> contents)
contents - Bubble containers which consist this carousel container.public org.json.JSONObject toJsonObject()
throws org.json.JSONException
toJsonObject in interface JsonabletoJsonObject in class FlexMessageContainerorg.json.JSONException