Interface IScreenSizeListener

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface IScreenSizeListener
    Interface used to listen to screen size changes.
    Author:
    Christopher Mindus
    • Method Detail

      • onScreenSizeChanged

        void onScreenSizeChanged​(IClientSessionGyro clientSessionGyro,
                                 Size size)
        Called when the screen size changes. The call may not be done directly and could be queued a little while before fired.
        Parameters:
        clientSessionGyro - The client session gyro instance.
        size - The new size.