UnbluUiEventApi

public struct UnbluUiEventApi

Defines all events which are fired from the unblu UI api by using the default notification center.

You can use Notification.Name.UnbluUIxxx to register for the events.

The values of the events can be access by the constants defined here.

  • Fired when the ui is either changing to visible or invisible. It is visible at the beginning of the fadeIn animation and invisible after the fadeOut animation.

    It is also fired, when the UnbluUiApi is disabled to be able to do proper cleanup.

    See more

    Declaration

    Swift

    public struct IsVisible
  • Fired when ever the visibility of the ui starts to change and when the transition of the change is finished. This can be used to properly start animations or do some other ui updates which correspond to the ui state.

    See more

    Declaration

    Swift

    public struct VisibilityTransition
  • Fired whenever the unblu ui needs to be displayed. Usually this happens when a certain push notification comes in like phone call for example or if a notification is clicked and a conversation should be displayed.

    See more

    Declaration

    Swift

    public struct UiVisibilityRequest
  • Fired when open conversation changes

    See more

    Declaration

    Swift

    public struct OpenConversationChanged
  • Fired when the call ui is opened or closed. Closed can be minized or the call ended. Check the api for callActive to determin if a call is active or not.

    See more

    Declaration

    Swift

    public struct CallUiOpenChanged
  • Fired whenever the Unblu ui needs to be hidden. Usually this happens when mobile co-browsing is started.

    This is only triggered when the used collaboration server is of version 5.x newer than 5.17 or newer than 6.3

    See more

    Declaration

    Swift

    public struct UiHideRequest