Class CefNativeAdapter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getNativeRef​(java.lang.String identifer)
      Method is called by the native code to get the reference to an previous stored identifier.
      void setNativeRef​(java.lang.String identifer, long nativeRef)
      Method is called by the native code to store a reference to an implemented native JNI counterpart.
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CefNativeAdapter

        public CefNativeAdapter()
    • Method Detail

      • setNativeRef

        public void setNativeRef​(java.lang.String identifer,
                                 long nativeRef)
        Description copied from interface: CefNative
        Method is called by the native code to store a reference to an implemented native JNI counterpart.
        Specified by:
        setNativeRef in interface CefNative
        Parameters:
        identifer - The name of the interface class (e.g. CefFocusHandler).
        nativeRef - The reference to the native code.
      • getNativeRef

        public long getNativeRef​(java.lang.String identifer)
        Description copied from interface: CefNative
        Method is called by the native code to get the reference to an previous stored identifier.
        Specified by:
        getNativeRef in interface CefNative
        Parameters:
        identifer - The name of the interface class (e.g. CefFocusHandler).
        Returns:
        The stored reference value of the native code.