data class MediaCard : MediaMessage
(source)
A media card. At least one of title, subTitle or file is not null.
<init> |
A media card. At least one of title, subTitle or file is not null. MediaCard(title: CharSequence?, subTitle: CharSequence?, file: MediaFile?, actions: List<MediaAction> = emptyList()) |
actions |
val actions: List<MediaAction> |
file |
val file: MediaFile? |
subTitle |
val subTitle: CharSequence? |
title |
val title: CharSequence? |
checkValidity |
Returns true if the media is valid. fun checkValidity(): Boolean |
toGenericMessage |
Returns a GenericMessage view of this MediaMessage if supported. fun toGenericMessage(): GenericMessage? |