express-embed-mobile-sdk-android-release

//sdk/com.adobe.express.embedsdk/HostCallbackHandler

HostCallbackHandler


class HostCallbackHandler(hostCallbacks: Callbacks? = null)

Constructors

   
HostCallbackHandler
constructor(hostCallbacks: Callbacks? = null)

Functions

Name Summary
onCancel
fun onCancel(reason: CancelReason, cancelMessageData: CancelCTA? = null)
onError
fun onError(error: CCEverywhereError)
onEvent
fun onEvent(data: HostEventData)
onLoad
fun onLoad()
onLoadInit
fun onLoadInit()
onLoadInitBegin
fun onLoadInitBegin()
onLoadStart
fun onLoadStart()
onLoadStartBegin
fun onLoadStartBegin()
onPublish
fun onPublish(intent: ActionIntent, publishParams: PublishParams)
onPublishStart
fun onPublishStart()
onSessionFinished
fun onSessionFinished(forIntent: ActionIntent?)
onSignInFailed
fun onSignInFailed()
onSignInRequired
fun onSignInRequired(reason: String?, complete: (credentials: SignInCredentials?) -> Unit): Boolean
Dispatches a mid-session sign-in request to the host. Returns true if a handler was wired and invoked, false if the host never registered onSignInRequired — the caller resets its in-flight state on false so a missing callback can’t permanently wedge the action.
onWarmupComplete
fun onWarmupComplete(forIntent: ActionIntent?)