MeiroNativeBlock

sealed class MeiroNativeBlock

One content block, in the order set in Pipes.

Inheritors

Types

Link copied to clipboard
class Buttons(val id: String, val buttons: List<MeiroNativeButton>) : MeiroNativeBlock

One or two buttons that share a row.

Link copied to clipboard
class Image(val id: String, val image: Bitmap, val url: String, val accessibilityLabel: String) : MeiroNativeBlock

image is already loaded and scaled to at most two screen widths.

Link copied to clipboard
class Spacer(val id: String, val height: Int) : MeiroNativeBlock

Empty space; height is in dp.

Link copied to clipboard
class Text(val id: String, val style: MeiroNativeTextStyle, val text: String, @ColorInt val color: Int) : MeiroNativeBlock

Properties

Link copied to clipboard
abstract val id: String