goToPersoneticsWidget - Android

Android specific function

Relevant platforms:Android

goToPersoneticsWidget function indicates a teaser was clicked. In response, the Bank should invoke the story-widget using the startWidget function.

Parameter

NameTypeMandatoryDescription
configMapYesparameters:

Return Value = none

Code Example

"userId": "ProgramUser_3", // example for userID
    "insightId": "bd165da9-cf04-46da-ad22-1c8844a86454",// example for insightId of a clicked teaser
    "instanceId": "ProgramTracker",", // example for instanceId of a clicked teaser
    "eventType": "teaserClick", 
    "lang": "en", //language
    "clickedTeaser": <elm>  //an element node of the clicked teaser
     teaserId": "perso-teaser-template_bd165da9-cf04-46da-ad22-1c8844a86454" //an id attribute of the clicked teaser
}