Instance Property

identifier

The background session identifier of the configuration object.

Declaration

@property(readonly, copy) NSString *identifier;

Discussion

The value of this property is set only when you use the backgroundSessionConfigurationWithIdentifier: method to create the configuration object. The string uniquely identifies a background session object. In iOS, you use this string in cases where the app was terminated while transfers were occurring in the background. When the app relaunches, it uses the string to recreate the configuration and session objects associated with the transfers.

See Also

Setting General Properties

HTTPAdditionalHeaders

A dictionary of additional headers to send with requests.

networkServiceType

The type of network service for all tasks within sessions based on this configuration.

allowsCellularAccess

A Boolean value that determines whether connections should be made over a cellular network.

timeoutIntervalForRequest

The timeout interval to use when waiting for additional data.

timeoutIntervalForResource

The maximum amount of time that a resource request should be allowed to take.

sharedContainerIdentifier

The identifier for the shared container into which files in background URL sessions should be downloaded.

waitsForConnectivity

A Boolean value that indicates whether the session should wait for connectivity to become available, or fail immediately.