---
title: BGTaskRequest
framework: backgroundtasks
role: symbol
role_heading: Class
path: backgroundtasks/bgtaskrequest
---

# BGTaskRequest

An abstract class for representing task requests.

## Declaration

```swift
class BGTaskRequest
```

## Topics

### Configuring a Task Request

- [earliestBeginDate](backgroundtasks/bgtaskrequest/earliestbegindate.md)
- [identifier](backgroundtasks/bgtaskrequest/identifier.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Inherited By

- [BGAppRefreshTaskRequest](backgroundtasks/bgapprefreshtaskrequest.md)
- [BGContinuedProcessingTaskRequest](backgroundtasks/bgcontinuedprocessingtaskrequest.md)
- [BGProcessingTaskRequest](backgroundtasks/bgprocessingtaskrequest.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Task requests

- [BGProcessingTaskRequest](backgroundtasks/bgprocessingtaskrequest.md)
- [BGAppRefreshTaskRequest](backgroundtasks/bgapprefreshtaskrequest.md)
- [BGHealthResearchTaskRequest](backgroundtasks/bghealthresearchtaskrequest.md)
- [BGContinuedProcessingTaskRequest](backgroundtasks/bgcontinuedprocessingtaskrequest.md)
