NEDataCallback

abstract class NEDataCallback<T> : NECallback<T>

返回非空数据的回调

Constructors

NEDataCallback
Link copied to clipboard
fun NEDataCallback()

Functions

onError
Link copied to clipboard
open fun onError(code: Int, message: String?)
失败回调
onResult
Link copied to clipboard
open override fun onResult(code: Int, message: String?, data: T?)
通用回调
onSuccess
Link copied to clipboard
open fun onSuccess(data: T)
成功回调