This class allows controlling of the UI state and the Unblu individual UI.
Event emitted every time the state of the individual UI is changed.
Collapses the individual UI if it was open. - Does nothing if it was already collapsed.
Maximize the individual UI - Does nothing if it is already maximized or popped out.
Minimize the individual UI - Does nothing if it is already minimized.
Removes a previously registered listener
The event to unregister from.
The listener to remove.
Registers an event listener for the given event.
The uistateChange event.
The listener to be called.
Opens the individual UI if it was collapsed. - Does nothing if it was already open.
Navigates the individual UI to the PIN entry UI.
NOTE: calling this method will NOT automatically open the Unblu UI if it is collapsed. Use openIndividualUi if this is needed.
Pop-in the individual UI when it is in POPPED_OUT state.
The pop-out window will automatically close and the individual UI will be displayed in the original window again.
Pop-out the individual UI into a separate window.
NOTE: this has to be called in a click-event in order to be able to open the pop-up window without being blocked by the browser!
Opens the individual UI if it is collapsed and collapses it if it is open.