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 |
|---|---|
JSONObject |
toJsonObject() |
public FlexCarouselContainer(@NonNull
java.util.List<FlexBubbleContainer> contents)
contents - Bubble containers which consist this carousel container.@NonNull
public JSONObject toJsonObject()
throws JSONException
toJsonObject in interface JsonabletoJsonObject in class FlexMessageContainerJSONException