pub type ArkWeb_OnJavaScriptProxyCallbackWithResult = Option<unsafe extern "C" fn(webTag: *const c_char, dataArray: *const ArkWeb_JavaScriptBridgeData, arraySize: usize, userData: *mut c_void) -> ArkWeb_JavaScriptValuePtr>;Available on crate features
api-11 and api-12 and api-18 only.Expand description
Defines the JavaScript proxy callback of the native ArkWeb.
§Arguments
-
webTag- The name of the web component. -
dataArray- The JavaScript bridge data array from HTML. -
arraySize- The number of elements in the array. -
userData- The data set by user.
Available since API-level: 18
Aliased Type§
pub enum ArkWeb_OnJavaScriptProxyCallbackWithResult {
None,
Some(unsafe extern "C" fn(*const u8, *const ArkWeb_JavaScriptBridgeData, usize, *mut c_void) -> *mut ArkWeb_JavaScriptValue),
}