Package apple.foundation.enums
Class NSURLErrorNetworkUnavailableReason
- java.lang.Object
-
- apple.foundation.enums.NSURLErrorNetworkUnavailableReason
-
public final class NSURLErrorNetworkUnavailableReason extends java.lang.Object[@enum] Codes associated with NSURLErrorNetworkUnavailableReasonKey Constants used by NSError to indicate that a URLSessionTask failed because of unsatisfiable network constraints. For example if the URLSessionConfiguration property allowsExpensiveNetworkAccess was set to NO and the only interfaces available were marked as expensive then the task would fail with a NSURLErrorNotConnectedToInternet error and the userInfo dictionary would contain the value NSURLErrorNetworkUnavailableReasonExpensive for the key NSURLErrorNetworkUnavailableReason. API-Since: 13.0
-
-
Field Summary
Fields Modifier and Type Field Description static longCellularAPI-Since: 13.0static longConstrainedAPI-Since: 13.0static longExpensiveAPI-Since: 13.0
-
-
-
Field Detail
-
Cellular
public static final long Cellular
API-Since: 13.0- See Also:
- Constant Field Values
-
Expensive
public static final long Expensive
API-Since: 13.0- See Also:
- Constant Field Values
-
Constrained
public static final long Constrained
API-Since: 13.0- See Also:
- Constant Field Values
-
-