Package org.robovm.apple.webkit
Class WKPreferences
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.webkit.WKPreferences
- All Implemented Interfaces:
NSCoding,NSObjectProtocol,NSSecureCoding,ObjCProtocol
public class WKPreferences extends NSObject implements NSSecureCoding
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWKPreferences.WKPreferencesPtrNested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInitNested classes/interfaces inherited from class org.robovm.objc.ObjCObject
ObjCObject.ObjCObjectPtr, ObjCObject.Super -
Field Summary
-
Constructor Summary
Constructors Modifier Constructor Description WKPreferences()WKPreferences(NSCoder coder)protectedWKPreferences(NSObject.Handle h, long handle)protectedWKPreferences(NSObject.SkipInit skipInit) -
Method Summary
Modifier and Type Method Description voidencode(NSCoder coder)doublegetMinimumFontSize()protected longinit(NSCoder coder)booleanisFraudulentWebsiteWarningEnabled()booleanisJavaScriptEnabled()Deprecated.Deprecated in iOS 14.0.booleanisTextInteractionEnabled()booleanjavaScriptCanOpenWindowsAutomatically()voidsetFraudulentWebsiteWarningEnabled(boolean v)voidsetJavaScriptCanOpenWindowsAutomatically(boolean v)voidsetJavaScriptEnabled(boolean v)Deprecated.Deprecated in iOS 14.0.voidsetMinimumFontSize(double v)voidsetTextInteractionEnabled(boolean v)static booleansupportsSecureCoding()Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValuesMethods inherited from class org.robovm.objc.ObjCObject
addStrongRef, dispose, dispose, finalize, getAssociatedObject, getObjCClass, getPeerObject, getSuper, initObject, logRetainRelease, removeStrongRef, retainCustomObjectFromCb, setAssociatedObject, toObjCObject, toObjCObject, updateStrongRef
-
Constructor Details
-
WKPreferences
public WKPreferences() -
WKPreferences
-
WKPreferences
-
WKPreferences
-
-
Method Details
-
getMinimumFontSize
public double getMinimumFontSize() -
setMinimumFontSize
public void setMinimumFontSize(double v) -
javaScriptCanOpenWindowsAutomatically
public boolean javaScriptCanOpenWindowsAutomatically() -
setJavaScriptCanOpenWindowsAutomatically
public void setJavaScriptCanOpenWindowsAutomatically(boolean v) -
isFraudulentWebsiteWarningEnabled
public boolean isFraudulentWebsiteWarningEnabled()- Since:
- Available in iOS 13.0 and later.
-
setFraudulentWebsiteWarningEnabled
public void setFraudulentWebsiteWarningEnabled(boolean v)- Since:
- Available in iOS 13.0 and later.
-
isTextInteractionEnabled
public boolean isTextInteractionEnabled()- Since:
- Available in iOS 14.5 and later.
-
setTextInteractionEnabled
public void setTextInteractionEnabled(boolean v)- Since:
- Available in iOS 14.5 and later.
-
isJavaScriptEnabled
Deprecated.Deprecated in iOS 14.0. Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis -
setJavaScriptEnabled
Deprecated.Deprecated in iOS 14.0. Use WKWebPagePreferences.allowsContentJavaScript to disable content JavaScript on a per-navigation basis -
supportsSecureCoding
public static boolean supportsSecureCoding() -
encode
-
init
-