//[datasource](../../../index.md)/[com.yandex.payment.sdk.datasource.bind.interfaces](../index.md)/[CardScreen](index.md)/[setState](set-state.md)

# setState

[datasource]\
abstract fun [setState](set-state.md)(state: [CardScreen.State](-state/index.md))

Установить новое состояние экрана.

## Parameters

datasource

| | |
|---|---|
| state | новое состояние. |
