Types

Link copied to clipboard
class CUSTOM(postId: String, type: AmityPost.DataType.CUSTOM, rawData: JsonObject?) : AmityPost.Data
Link copied to clipboard
class FILE(postId: String, fileId: String, rawData: JsonObject?, file: AmityFile? = null) : AmityPost.Data
Link copied to clipboard
class IMAGE(postId: String, fileId: String, rawData: JsonObject?, image: AmityImage? = null) : AmityPost.Data
Link copied to clipboard
class LIVE_STREAM(postId: String, streamId: String, rawData: JsonObject?) : AmityPost.Data
Link copied to clipboard
class POLL(postId: String, pollId: String, rawData: JsonObject?) : AmityPost.Data
Link copied to clipboard
class TEXT(postId: String, text: String) : AmityPost.Data
Link copied to clipboard
class VIDEO(postId: String, thumbnailFileId: String, rawData: JsonObject?, thumbnail: AmityImage? = null) : AmityPost.Data

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)