Set callbacks for different actions to get notified on certain state changes of the Gleap widget. This enables you to create an even deeper integration with Gleap.
C#
Gleap.RegisterListener("feedbackFlowStarted", flow =>
{
// Do something with the flow
});C#
Gleap.RegisterListener("initialized", _ =>
{
// Do something when Gleap is initialized
});C#
Gleap.RegisterListener("notificationCountUpdated", count =>
{
// Do something with the count
});C#
Gleap.RegisterListener("feedbackSent", _ =>
{
// Do something
});C#
Gleap.RegisterListener("feedbackSendingFailed", _ =>
{
// Do something
});C#
Gleap.RegisterListener("widgetOpened", _ =>
{
// Do something
});C#
Gleap.RegisterListener("widgetClosed", _ =>
{
// Do something
});You can detach a listener again with Gleap.RemoveListener(eventName, handler).

