SDK Initiation

Post creation of Hyperservices instance, initiate the SDK. The above 2 steps have to be mandatorily done before proceeding with any of the below steps

This is a mandatory SDK call. It takes two parameters: a JSONObject and a hyperCallbackHandler function

JSON object which contains defined payloadlink icon required to complete the initiate operation

HyperCallbackHandler is a callback function to handle receiving events from HyperServices instances. It is required only for iFrame based integration

Note

When to call initiate in iFrame integration?

  • If the element with entryPointId is loaded statically, then call initiate after onLoad() is fired

  • If the element is loaded dynamically, then call initiate post verifying if element is present in DOM

Last updated 10 months ago