public class LocationTemplate extends Object implements TemplateParams
Modifier and Type | Class and Description |
---|---|
static class |
LocationTemplate.Builder
Class for building location templates.
|
Modifier and Type | Method and Description |
---|---|
String |
getObjectType()
Template type such as FEED, LIST, etc.
|
static FeedTemplate.Builder |
newBuilder(ContentObject contentObject) |
static LocationTemplate.Builder |
newBuilder(String address,
ContentObject contentObject) |
org.json.JSONObject |
toJSONObject()
Any message type should be converted to JSONObject before they are validated or sent to
KakaoTalk.
|
public String getObjectType()
TemplateParams
getObjectType
in interface TemplateParams
public static FeedTemplate.Builder newBuilder(ContentObject contentObject)
public static LocationTemplate.Builder newBuilder(String address, ContentObject contentObject)
public org.json.JSONObject toJSONObject()
TemplateParams
toJSONObject
in interface TemplateParams