InAppMessageViewUtils

Utility methods for configuring in-app message view properties such as images, icons, colors, text alignment, backgrounds, and margins.

Properties

Link copied to clipboard

True when the device is below API 36 (BAKLAVA). On API 36+ back is handled only by OnBackInvokedDispatcher; below that, views handle back via key events.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setFrameColor(view: View, color: Int?)
Link copied to clipboard
fun setIcon(context: Context, icon: String?, iconColor: Int, iconBackgroundColor: Int, textView: TextView)
Link copied to clipboard
fun setImage(bitmap: Bitmap?, imageView: ImageView)
Link copied to clipboard
fun setTextAlignment(textView: TextView, textAlign: TextAlign)
Link copied to clipboard
fun setTextViewColor(textView: TextView, color: Int)
Link copied to clipboard
Link copied to clipboard