public interface CefNative
限定符和类型 | 方法和说明 |
---|---|
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对应方的引用
|
long getNativeRef(java.lang.String identifer)
identifer
- The name of the interface class (e.g. CefFocusHandler).接口类的名称void setNativeRef(java.lang.String identifer, long nativeRef)
identifer
- The name of the interface class (e.g. CefFocusHandler).接口类的名称nativeRef
- The reference to the native code.对本机代码的引用