构造器和说明 |
---|
CefNativeAdapter() |
限定符和类型 | 方法和说明 |
---|---|
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.
(本机代码调用方法,以存储对已实现的本机JNI副本的引用。)
|
public long getNativeRef(java.lang.String identifer)
CefNative
getNativeRef
在接口中
CefNative
identifer
- The name of the interface class (e.g. CefFocusHandler).
(-接口类的名称(例如CefFocusHandler)。)
public void setNativeRef(java.lang.String identifer, long nativeRef)
CefNative
setNativeRef
在接口中
CefNative
identifer
- The name of the interface class (e.g. CefFocusHandler).
(-接口类的名称(例如CefFocusHandler)。)
nativeRef
- The reference to the native code.
(-对本机代码的引用。)