Hooks Sdk
Properties
definitionHelper
definitionHelper:
ActivityDefinitionHelper
sdk
sdk:
ConvergeSdk
windowPostMessageMediator?
optional
windowPostMessageMediator:any
Methods
mediateWindowPostMessage()
mediateWindowPostMessage(
payload
):void
Parameters
• payload: SeekaWindowPostMessagePayload
Returns
void
onOrderSuccessPageView()
onOrderSuccessPageView():
Promise
<void
>
Returns
Promise
<void
>
onPageReady()
onPageReady():
Promise
<void
>
Returns
Promise
<void
>
onRouteChange()
onRouteChange():
Promise
<void
>
Returns
Promise
<void
>
onViewContextSet()
onViewContextSet(
context
):Promise
<void
>
Parameters
• context: ExperienceTrackingViewContext
Returns
Promise
<void
>
onViewLayoutChange()
onViewLayoutChange():
Promise
<void
>
Returns
Promise
<void
>
onWindowLifeEnd()
onWindowLifeEnd():
Promise
<void
>
Returns
Promise
<void
>
publishEvent()
publishEvent(
eventType
,payload
?):void
Parameters
• eventType: HookEventTypes
• payload?: any
Returns
void