Package org.robovm.apple.foundation
Class NSURLSessionConfiguration
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.objc.ObjCObject
org.robovm.apple.foundation.NSObject
org.robovm.apple.foundation.NSURLSessionConfiguration
- All Implemented Interfaces:
NSObjectProtocol,ObjCProtocol
public class NSURLSessionConfiguration extends NSObject
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNSURLSessionConfiguration.NSURLSessionConfigurationPtrNested 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
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAINFields inherited from class org.robovm.objc.ObjCObject
customClass -
Constructor Summary
Constructors Modifier Constructor Description NSURLSessionConfiguration()protectedNSURLSessionConfiguration(NSObject.Handle h, long handle)protectedNSURLSessionConfiguration(NSObject.SkipInit skipInit) -
Method Summary
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, updateStrongRefMethods inherited from class org.robovm.rt.bro.NativeObject
as, getHandle, setHandle
-
Constructor Details
-
NSURLSessionConfiguration
public NSURLSessionConfiguration() -
NSURLSessionConfiguration
-
NSURLSessionConfiguration
-
-
Method Details
-
getDefaultSessionConfiguration
-
getEphemeralSessionConfiguration
-
getIdentifier
-
getRequestCachePolicy
-
setRequestCachePolicy
-
getTimeoutIntervalForRequest
public double getTimeoutIntervalForRequest() -
setTimeoutIntervalForRequest
public void setTimeoutIntervalForRequest(double v) -
getTimeoutIntervalForResource
public double getTimeoutIntervalForResource() -
setTimeoutIntervalForResource
public void setTimeoutIntervalForResource(double v) -
getNetworkServiceType
-
setNetworkServiceType
-
allowsCellularAccess
public boolean allowsCellularAccess() -
setAllowsCellularAccess
public void setAllowsCellularAccess(boolean v) -
allowsExpensiveNetworkAccess
public boolean allowsExpensiveNetworkAccess()- Since:
- Available in iOS 13.0 and later.
-
setAllowsExpensiveNetworkAccess
public void setAllowsExpensiveNetworkAccess(boolean v)- Since:
- Available in iOS 13.0 and later.
-
allowsConstrainedNetworkAccess
public boolean allowsConstrainedNetworkAccess()- Since:
- Available in iOS 13.0 and later.
-
setAllowsConstrainedNetworkAccess
public void setAllowsConstrainedNetworkAccess(boolean v)- Since:
- Available in iOS 13.0 and later.
-
isWaitsForConnectivity
public boolean isWaitsForConnectivity()- Since:
- Available in iOS 11.0 and later.
-
setWaitsForConnectivity
public void setWaitsForConnectivity(boolean v)- Since:
- Available in iOS 11.0 and later.
-
isDiscretionary
public boolean isDiscretionary() -
setDiscretionary
public void setDiscretionary(boolean v) -
sendsLaunchEvents
public boolean sendsLaunchEvents() -
setSendsLaunchEvents
public void setSendsLaunchEvents(boolean v) -
getConnectionProxy
-
setConnectionProxy
-
getTLSMinimumSupportedProtocol
Deprecated.Use TLSMinimumSupportedProtocolVersion -
setTLSMinimumSupportedProtocol
Deprecated.Use TLSMinimumSupportedProtocolVersion -
getTLSMaximumSupportedProtocol
Deprecated.Use TLSMaximumSupportedProtocolVersion -
setTLSMaximumSupportedProtocol
Deprecated.Use TLSMaximumSupportedProtocolVersion -
getTLSMinimumSupportedProtocolVersion
- Since:
- Available in iOS 13.0 and later.
-
setTLSMinimumSupportedProtocolVersion
- Since:
- Available in iOS 13.0 and later.
-
getTLSMaximumSupportedProtocolVersion
- Since:
- Available in iOS 13.0 and later.
-
setTLSMaximumSupportedProtocolVersion
- Since:
- Available in iOS 13.0 and later.
-
shouldUseHTTPPipelining
public boolean shouldUseHTTPPipelining() -
setShouldUseHTTPPipelining
public void setShouldUseHTTPPipelining(boolean v) -
shouldSetHTTPCookies
public boolean shouldSetHTTPCookies() -
setShouldSetHTTPCookies
public void setShouldSetHTTPCookies(boolean v) -
getHTTPCookieAcceptPolicy
-
setHTTPCookieAcceptPolicy
-
getGetAdditionalHTTPHeaders
-
setGetAdditionalHTTPHeaders
-
getMaximumHTTPConnectionsPerHost
public long getMaximumHTTPConnectionsPerHost() -
setMaximumHTTPConnectionsPerHost
public void setMaximumHTTPConnectionsPerHost(long v) -
getHTTPCookieStorage
-
setHTTPCookieStorage
-
getURLCredentialStorage
-
setURLCredentialStorage
-
getURLCache
-
setURLCache
-
shouldUseExtendedBackgroundIdleMode
public boolean shouldUseExtendedBackgroundIdleMode()- Since:
- Available in iOS 9.0 and later.
-
setShouldUseExtendedBackgroundIdleMode
public void setShouldUseExtendedBackgroundIdleMode(boolean v)- Since:
- Available in iOS 9.0 and later.
-
getProtocolClasses
-
setProtocolClasses
-
getMultipathServiceType
- Since:
- Available in iOS 11.0 and later.
-
setMultipathServiceType
- Since:
- Available in iOS 11.0 and later.
-
getBackgroundSessionConfiguration
-
getBackgroundSessionConfiguration7
@Deprecated public static NSURLSessionConfiguration getBackgroundSessionConfiguration7(String identifier)Deprecated.Deprecated in iOS 8.0. Use -backgroundSessionConfigurationWithIdentifier:
-