//[ui](../../../index.md)/[com.yandex.payment.sdk.ui.cardscanner](../index.md)/[CameraScannerResult](index.md)/[onSuccess](on-success.md)

# onSuccess

[ui]\
abstract fun [onSuccess](on-success.md)(data: [CardScanData](../-card-scan-data/index.md))

Успех.

## Parameters

ui

| | |
|---|---|
| data | данные карты. |
