Skip to content

//woua-matrimony-sdk/com.woualabs.matrimony.errors.presenters/ToastErrorPresenter

ToastErrorPresenter

[common, js]\ class ToastErrorPresenter(duration: ToastDuration) : ErrorPresenter<String>

[android]\ class ToastErrorPresenter(duration: ToastDuration) : ErrorPresenter<String>

[iOS]\ class ToastErrorPresenter(duration: ToastDuration) : ErrorPresenter<String>

In iOS there is no such thing as toast, so it shows AlertErrorPresenter.

Constructors

ToastErrorPresenter [common, iOS, js]
fun ToastErrorPresenter(duration: ToastDuration = ToastDuration.SHORT)
[android]
fun ToastErrorPresenter(duration: ToastDuration = ToastDuration.SHORT)

Functions

Name Summary
show [iOS, android, js]
[iOS]
open override fun show(throwable: Throwable, viewController: UIViewController, data: String)
[android]
open override fun show(throwable: Throwable, activity: FragmentActivity, data: String)
[js]
open override fun show(throwable: Throwable, activity: Any, data: String)