FeedTemplate

data class FeedTemplate @JvmOverloads constructor(content: Content, itemContent: ItemContent?, social: Social?, buttons: List<Button>?, buttonTitle: String?) : DefaultTemplate, Parcelable

기본 템플릿으로 제공되는 피드 템플릿 클래스.

Constructors

Link copied to clipboard
fun FeedTemplate(content: Content, itemContent: ItemContent? = null, social: Social? = null, buttons: List<Button>? = null, buttonTitle: String? = null)

Functions

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

Properties

Link copied to clipboard
val buttons: List<Button>? = null

버튼 목록, 최대 2개. 버튼 타이틀과 링크를 변경하고 싶을 때, 버튼 두 개를 넣고 싶을 때 사용

Link copied to clipboard
val buttonTitle: String? = null

기본 버튼 타이틀(자세히 보기)을 변경하고 싶을 때 설정. 이 값을 사용하면 클릭 시 이동할 링크는 content 에 입력된 값이 사용됨.

Link copied to clipboard
val content: Content

메시지의 메인 콘텐츠 정보

Link copied to clipboard
val itemContent: ItemContent? = null

아이템 영역에 포함할 콘텐츠, ItemContent 참고

Link copied to clipboard
val objectType: String

"feed" 고정 값

Link copied to clipboard
val social: Social? = null

콘텐츠에 대한 소셜 정보