FloatingMessage

class FloatingMessage(body: String, button: FloatingMessage.Button? = null)

A class representing a floating message that can be used to display a floating text and optionally a button with text and/or icon and a custom callback.

Constructors

Link copied to clipboard
constructor(body: String, button: FloatingMessage.Button? = null)

Types

Link copied to clipboard
class Button(text: String, icon: Int? = null, action: () -> Unit)

Class representing the button inside a floating message class

Properties

Link copied to clipboard

String the body of the floating message

Link copied to clipboard

Button? optional floating message button

Link copied to clipboard
val id: String

String floating message unique identifier

Functions

Link copied to clipboard
fun dismiss()
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int