#[cfg(any(feature = "all", feature = "android-webkit-CookieSyncManager"))]
__jni_bindgen! {
public final class CookieSyncManager ("android/webkit/CookieSyncManager") extends crate::android::webkit::WebSyncManager {
#[cfg(any(feature = "all", all(feature = "android-webkit-CookieSyncManager")))]
pub fn getInstance<'env>(__jni_env: &'env __jni_bindgen::Env) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::webkit::CookieSyncManager>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/webkit/CookieSyncManager\0", "getInstance\0", "()Landroid/webkit/CookieSyncManager;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
#[cfg(any(feature = "all", all(feature = "android-content-Context", feature = "android-webkit-CookieSyncManager")))]
pub fn createInstance<'env>(__jni_env: &'env __jni_bindgen::Env, arg0: impl __jni_bindgen::std::convert::Into<__jni_bindgen::std::option::Option<&'env crate::android::content::Context>>) -> __jni_bindgen::std::result::Result<__jni_bindgen::std::option::Option<__jni_bindgen::Local<'env, crate::android::webkit::CookieSyncManager>>, __jni_bindgen::Local<'env, crate::java::lang::Throwable>> {
unsafe {
let __jni_args = [__jni_bindgen::AsJValue::as_jvalue(&arg0.into())];
let (__jni_class, __jni_method) = __jni_env.require_class_static_method("android/webkit/CookieSyncManager\0", "createInstance\0", "(Landroid/content/Context;)Landroid/webkit/CookieSyncManager;\0");
__jni_env.call_static_object_method_a(__jni_class, __jni_method, __jni_args.as_ptr())
}
}
}
}