ToastConfigurationBuilder

class ToastConfigurationBuilder(arg0: Context) : ConfigurationBuilder

Class generated based on AcraToast (Jul 23, 2021 6:23:11 PM)

Constructors

ToastConfigurationBuilder
Link copied to clipboard
fun ToastConfigurationBuilder(arg0: Context)

Functions

build
Link copied to clipboard
open override fun build(): ToastConfiguration
withEnabled
Link copied to clipboard
fun withEnabled(enabled: Boolean): ToastConfigurationBuilder
withLength
Link copied to clipboard
fun withLength(@IntRange(from = 0.toLong(), to = 1.toLong()length: Int): ToastConfigurationBuilder
One of {@link android.widget.Toast#LENGTH_LONG} and {@link android.widget.
withResText
Link copied to clipboard
fun withResText(@StringRes() resText: Int): ToastConfigurationBuilder
toast text triggered when the application crashes
withText
Link copied to clipboard
fun withText(text: String): ToastConfigurationBuilder
toast text triggered when the application crashes

Properties

context
Link copied to clipboard
var context: Context
enabled
Link copied to clipboard
var enabled: Boolean
length
Link copied to clipboard
@IntRange(from = 0.toLong(), to = 1.toLong())
var length: Int
One of {@link android.widget.Toast#LENGTH_LONG} and {@link android.widget.
text
Link copied to clipboard
var text: String
toast text triggered when the application crashes