setResult

abstract fun setResult(result: T)

Set the result of the dialog. This function may only be used in initialization code.