ICQuickReplyData
ICQuickReplyData
This class exposes the data related to quick reply data.
setReference
This method to set the reference for quick reply data.
Syntax: void setReference(String reference)
Parameters:
Parameter | Type | Description |
---|---|---|
reference | String | The reference of the quick reply data. |
getReference
This method is used to return reference for quick reply data.
Syntax: String getReference()
Return Value: Reference for quick reply data.
getButtons
This method is used to return buttons for quick reply data.
Syntax: ICButton[] getButtons()
Return Value: buttons for the quick reply data.
fromJSON
Instantiates a new ICQuickReplyData instance from the supplied JSONObject.
Syntax: public static ICQuickReplyData fromJSON(JSONObject jsonObject)
Parameters:
Parameter | Type | Description |
---|---|---|
jsonObject | JSONObject | A valid JSONObject instance containing quick reply data. |
toJSON
This method returns a new JSONObject instance containing form quick reply data.
Syntax: public JSONObject toJSON() throws JSONException
Returns: A JSONObject representation of the quick reply data.
Throws: org.json.JSONException
Updated 12 months ago