Author Message
NarcisC
Joined: Nov 16, 2020
Messages: 44
Offline
Hello,

It is possible to have a Widget capable to always stay visible but also to be able to collect data from a new interaction call (onInteractionEvent)?
When selecting the Voice layout, the widget is gone after interaction is ended.
When choosing Home, the widget is persistent, but cannot retrieve call data on incoming call (expected behavior, I guess).

Please, is there any option to achieve this?
WSWidgetSupport
Joined: Jul 13, 2021
Messages: 2
Offline
A Home widget can gather data relating to interactions by using the onAnyInteractionEvent. This will fire whenever there is an interaction event relating to any interaction, so won’t be specific to one interaction.
Similarily, onAnyInteractionEndedEvent, can be used on the Home layout to subscribe to interaction end events. Again, will not be specific to any one interaction.

OnCardFocusedEvent could also be used from the Home layout, which would return the full interaction object whenever a card is put into focus.
Go to:   
Mobile view