Result

interface Result

表示结果的接口.

Author

M8Test, [email protected], https://m8test.com

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun getData(): Any?

获取结果数据

Link copied to clipboard
abstract fun getMessage(): String

如果 isSuccess 为 true 则表示成功的消息,否则表示失败的消息

Link copied to clipboard
abstract fun isSuccess(): Boolean

是否成功