Callback interface for receiving UI visibility state changes.
Called when the UI visibility state changes.