TransactionResult

public class TransactionResult

전문결과 수신

  • 모든 요청 전문에 대한 결과를 수신

  • 수신하고자 하는 세션에서 FlowCollector 등록 및 수신 데이터 처리

사용 예

lifecycleScope.launch {
TransactionResult.EximPayFlow.collect { response -> /* TransactionResult.Resposne */
response?.let {
println("${response.txType.label}\n${response.data}")
}
}
}

See also

Types

Link copied to clipboard
public final class Response

Functions

Link copied to clipboard
final SharedFlow<TransactionResult.Response> getEximPayFlow()

Properties

Link copied to clipboard
private final SharedFlow<TransactionResult.Response> EximPayFlow
Link copied to clipboard
public final static TransactionResult INSTANCE