Coverage Summary for Class: InAppMessageViewDisplayer (cloud.mindbox.mobile_sdk.inapp.presentation)

Class Method, % Branch, % Line, % Instruction, %
InAppMessageViewDisplayer$DefaultImpls 0% (0/1) 0% (0/2) 0% (0/5)
InAppMessageViewDisplayer$tryShowInAppMessage$1 0% (0/1) 0% (0/1) 0% (0/1)
Total 0% (0/2) 0% (0/3) 0% (0/6)


 package cloud.mindbox.mobile_sdk.inapp.presentation
 
 import android.app.Activity
 import cloud.mindbox.mobile_sdk.inapp.domain.interfaces.InAppActionCallbacks
 import cloud.mindbox.mobile_sdk.inapp.domain.models.InAppType
 
 internal interface InAppMessageViewDisplayer {
 
     fun onResumeCurrentActivity(activity: Activity, isNeedToShow: () -> Boolean, onAppResumed: () -> Unit)
 
     fun onPauseCurrentActivity(activity: Activity)
 
     fun onStopCurrentActivity(activity: Activity)
 
     fun tryShowInAppMessage(
         inAppType: InAppType,
         inAppActionCallbacks: InAppActionCallbacks,
         onRenderStart: () -> Unit = {},
         tags: Map<String, String>? = null,
     )
 
     fun registerCurrentActivity(activity: Activity)
 
     fun registerInAppCallback(inAppCallback: InAppCallback)
 
     fun unregisterInAppCallback()
 
     fun isInAppActive(): Boolean
 
     fun dismissCurrentInApp()
 }