public class CefNativeAdapter extends java.lang.Object implements CefNative
| Constructor and Description |
|---|
CefNativeAdapter() |
| Modifier and Type | Method and 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.
|
public long getNativeRef(java.lang.String identifer)
CefNativegetNativeRef in interface CefNativeidentifer - The name of the interface class (e.g. CefFocusHandler).public void setNativeRef(java.lang.String identifer,
long nativeRef)
CefNativesetNativeRef in interface CefNativeidentifer - The name of the interface class (e.g. CefFocusHandler).nativeRef - The reference to the native code.