Coverage Summary for Class: ShowInAppOutcome (cloud.mindbox.mobile_sdk.inapp.presentation)
| Class |
Method, %
|
Branch, %
|
Line, %
|
Instruction, %
|
| ShowInAppOutcome$NotShown |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(7/7)
|
| ShowInAppOutcome$Shown |
100%
(1/1)
|
|
100%
(1/1)
|
100%
(2/2)
|
| Total |
100%
(2/2)
|
|
100%
(2/2)
|
100%
(9/9)
|
package cloud.mindbox.mobile_sdk.inapp.presentation
import cloud.mindbox.mobile_sdk.inapp.presentation.view.BridgeErrorCode
internal sealed interface ShowInAppOutcome {
data object Shown : ShowInAppOutcome
data class NotShown(val code: BridgeErrorCode) : ShowInAppOutcome
}
internal fun interface OnShowInAppOutcome {
fun onOutcome(outcome: ShowInAppOutcome)
}