Package org.cef.callback
Interface CefNative
-
- All Known Subinterfaces:
CefMessageRouterHandler
,CefPrintHandler
,CefURLRequestClient
- All Known Implementing Classes:
CefClient
,CefClientHandler
,CefMessageRouterHandlerAdapter
,CefNativeAdapter
,CefPrintHandlerAdapter
public interface CefNative
The methods of this interface are triggered by the native code to store and get the JNI counterparts of the JCEF implementation.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
setNativeRef
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.- Parameters:
identifer
- The name of the interface class (e.g. CefFocusHandler).nativeRef
- The reference to the native code.
-
getNativeRef
long getNativeRef(java.lang.String identifer)
Method is called by the native code to get the reference to an previous stored identifier.- Parameters:
identifer
- The name of the interface class (e.g. CefFocusHandler).- Returns:
- The stored reference value of the native code.
-
-