InAppInteractiveData

Represents interactive data.

Represents interactive data.

Properties

PropertiesTypeDescription
idStringStringThe ID of the interactive data.
var id: String?
titleStringThe title of the interactive data.
var title: String?
referenceStringThe reference of the interactive data.
var reference: String?
payloadJSONObjectThe payload of the interactive data.
var payload: JSONObject?
actionUrlStringThe action URL of the interactive data.
var actionUrl: String?
relatedTransactionIdStringThe related transaction ID of the interactive data.
var relatedTransactionId: String?
typeInAppInteractiveDataTypeThe type of interactive data.
var type: InAppInteractiveDataType
submittedAtDateThe submitted date of the interactive data.
var submittedAt: Date?

Functions

toJson

Converts the interactive data to a JSON object.

Syntax: fun toJson(): JSONObject

Return Value The JSON object representing the interactive data.

Companion Functions

fromJson

Converts a JSONobject to interactive data.

Syntax: fun fromJson(jsonObject: JSONObject): InAppInteractiveData

Return Value The interactive data is converted from the JSONobject.

Parameters

ParametersTypeDescription
jsonObjectJSONObjectJSONObject to convert.