SYDownloadOptions Class Reference

Options for download operations. More...

#import <SYNetwork.h>

Inheritance diagram for SYDownloadOptions:
Collaboration diagram for SYDownloadOptions:

Properties

BOOL allowsCellularAccess
 Specifies if downloading is allowed using cellular radios (Mobile Data). It will be applied to corresponding property of NSURLRequest. Default value is true. More...
 
BOOL allowsExpensiveNetworkAccess
 Specifies if downloading is allowed using networks which system considers expensive. It will be applied to corresponding property of NSURLRequest. Has effect only since iOS 13, will be ignored for older iOS. Default value is true. More...
 
BOOL allowsConstrainedNetworkAccess
 Specifies if downloading is allowed using networks which have Low Data Mode on. It will be applied to corresponding property of NSURLRequest. Has effect only since iOS 13, will be ignored for older iOS. Default value is true. More...
 

Detailed Description

Options for download operations.

Property Documentation

◆ allowsCellularAccess

- (BOOL) allowsCellularAccess
readwritenonatomicassign

Specifies if downloading is allowed using cellular radios (Mobile Data). It will be applied to corresponding property of NSURLRequest. Default value is true.

◆ allowsExpensiveNetworkAccess

- (BOOL) allowsExpensiveNetworkAccess
readwritenonatomicassign

Specifies if downloading is allowed using networks which system considers expensive. It will be applied to corresponding property of NSURLRequest. Has effect only since iOS 13, will be ignored for older iOS. Default value is true.

◆ allowsConstrainedNetworkAccess

- (BOOL) allowsConstrainedNetworkAccess
readwritenonatomicassign

Specifies if downloading is allowed using networks which have Low Data Mode on. It will be applied to corresponding property of NSURLRequest. Has effect only since iOS 13, will be ignored for older iOS. Default value is true.


The documentation for this class was generated from the following file: