Class CGEventTapCallBack

    • Method Detail

      • create

        public static CGEventTapCallBack create​(long functionPointer)
        Creates a CGEventTapCallBack instance from the specified function pointer.
        Returns:
        the new CGEventTapCallBack
      • createSafe

        @Nullable
        public static CGEventTapCallBack createSafe​(long functionPointer)
        Like create, but returns null if functionPointer is NULL.