![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Inheritance diagram for FBackgroundNSURLSession:Class Methods | |
| (FBackgroundNSURLSession *) | + Shared |
| (NSUInteger) | + GetInvalidDownloadId |
| (NSString *) | + GetNSURLSessionIdentifier |
Properties | |
| BOOL | AllowCellular |
| - (void) CancelDownload: | (NSUInteger) | DownloadId |
| - (NSURLSessionDownloadTask *) CreateDownloadForResumeData: | (NSData* _Nonnull) | ResumeData | |
| WithPriority: | (float) | Priority | |
| WithTaskData: | (FBackgroundNSURLSessionDownloadTaskData* _Nonnull) | TaskData | |
| - (NSURLSessionDownloadTask *) CreateDownloadForURL: | (NSURL* _Nonnull) | URL | |
| WithPriority: | (float) | Priority | |
| WithTaskData: | (FBackgroundNSURLSessionDownloadTaskData* _Nonnull) | TaskData | |
| - (NSUInteger) CreateOrFindDownloadForURLs: | (NSArray<__kindof NSString*>*) | URLStrings | |
| WithPriority: | (float) | Priority | |
| WithExpectedResultSize: | (uint64) | ExpectedResultSize | |
| - (void) EnsureTaskIsNotTracked: | (NSURLSessionDownloadTask*) | Task |
| - (NSUInteger) EnsureTaskIsTracked: | (NSURLSessionDownloadTask*) | Task |
| - (NSUInteger) FindDownloadIdForTask: | (NSURLSessionDownloadTask*) | Task |
| - (NSURLSessionDownloadTask *) FindDownloadTaskFor: | (NSUInteger) | DownloadId |
| - (NSArray< __kindof FBackgroundNSURLCDNInfo * > *) GetCDNInfo |
| - (uint64) GetCurrentDownloadedBytes: | (NSUInteger) | DownloadId |
| - (NSString *) GetDownloadDebugText: | (NSUInteger) | DownloadId |
| - (NSString *_Nullable) GetDownloadResult: | (NSUInteger) | DownloadId | |
| OutStatus: | (BOOL* _Nonnull) | OutStatus | |
| OutStatusCode: | (NSInteger*) | OutStatusCode | |
| - (BackgroundHttpFileHashHelperRef) GetFileHashHelper |
| + (NSUInteger) GetInvalidDownloadId |
| + (NSString *) GetNSURLSessionIdentifier |
| - (void) HandleDidEnterBackground |
| - (void) HandleWillEnterForeground |
| - (void) Initialize |
| - (void) PauseDownload: | (NSUInteger) | DownloadId |
| - (void) RecreateDownload: | (NSUInteger) | DownloadId | |
| ShouldResetRetryCount: | (bool) | ResetRetryCount | |
| - (void) RecreateDownloads |
| - (NSMutableArray< __kindof NSURL * > *) ReorderCDNsByReachability: | (NSMutableArray<__kindof NSURL*>*) | URLs |
| - (void) ReplaceTrackedTaskWith: | (NSURLSessionDownloadTask*) | NewTask | |
| ForDownloadId: | (NSUInteger) | DownloadId | |
| - (void) ResumeDownload: | (NSUInteger) | DownloadId |
| - (void) SaveFileHashHelperState |
| - (void) SetCurrentDownloadedBytes: | (uint64) | DownloadedBytes | |
| ForTask: | (NSURLSessionDownloadTask*) | Task | |
| - (void) SetDownloadResult: | (NSInteger) | HTTPCode | |
| WithTempFile: | (NSString*) | TempFile | |
| ForDownload: | (NSURLSessionDownloadTask*) | Task | |
| - (void) SetFileHashHelper: | (BackgroundHttpFileHashHelperRef) | HelperRef |
| - (void) SetPriority: | (float) | Priority | |
| ForDownload: | (NSUInteger) | DownloadId | |
| + (FBackgroundNSURLSession *) Shared |
| - (void) StartCheckingForStaleDownloads |
| - (void) StopCheckingForStaleDownloads |
| - (void) URLSession: | (NSURLSession*) | Session | |
| downloadTask: | (NSURLSessionDownloadTask*) | Task | |
| didFinishDownloadingToURL: | (NSURL*) | Location | |
| - (void) URLSession: | (NSURLSession*) | Session | |
| downloadTask: | (NSURLSessionDownloadTask*) | Task | |
| didWriteData: | (int64_t) | BytesWritten | |
| totalBytesWritten: | (int64_t) | TotalBytesWritten | |
| totalBytesExpectedToWrite: | (int64_t) | TotalBytesExpectedToWrite | |
| - (void) URLSession: | (NSURLSession*) | Session | |
| task: | (NSURLSessionTask*) | Task | |
| didCompleteWithError: | (NSError*) | Error | |
| - (void) URLSessionDidFinishEventsForBackgroundURLSession: | (NSURLSession*) | Session |
|
readwriteatomicassign |