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.
-
-
Field Summary
Fields Modifier and Type Field Description static longCellularstatic longConstrainedstatic longExpensive
-
-
-
Field Detail
-
Cellular
public static final long Cellular
- See Also:
- Constant Field Values
-
Expensive
public static final long Expensive
- See Also:
- Constant Field Values
-
Constrained
public static final long Constrained
- See Also:
- Constant Field Values
-
-