Scene Changes

tapToPaySdk.didChange(scenePhase: ScenePhase) async

Notifies the SDK that the scene has changed in the application. Readers can disconnect if the application is sent to the background. Therefore, it is necessary to notify the SDK about the scene changing to handle the disconnection and re-connection of the reader.

Copy
Copied
public func didChange(scenePhase: ScenePhase) async

Parameters

transactionDetail
ScenePhase

An indication of a scene's operational state.

Copyright © Tyro Payments 2019-2024. All right reserved.