---
title: CLBackgroundActivitySession
framework: corelocation
role: symbol
role_heading: Class
path: corelocation/clbackgroundactivitysession-3mzv3
---

# CLBackgroundActivitySession

An object that manages a visual indicator that keeps your app in use in the background, allowing it to receive updates or events.

## Declaration

```swift
final class CLBackgroundActivitySession
```

## Mentioned in

Handling location updates in the background Supporting live updates in SwiftUI and Mac Catalyst apps

## Overview

Overview Use CLBackgroundActivitySession to start a background activity session that allows a when-in-use authorized app to receive location updates or monitoring events.

## Topics

### Creating a background activity session

- [init()](corelocation/clbackgroundactivitysession-3mzv3/init().md)

### Ending the session

- [invalidate()](corelocation/clbackgroundactivitysession-3mzv3/invalidate().md)

### Classes

- [CLBackgroundActivitySession.Diagnostics](corelocation/clbackgroundactivitysession-3mzv3/diagnostics-swift.class.md)

### Structures

- [CLBackgroundActivitySession.Diagnostic](corelocation/clbackgroundactivitysession-3mzv3/diagnostic.md)

### Instance Properties

- [diagnostics](corelocation/clbackgroundactivitysession-3mzv3/diagnostics-swift.property.md)

## Relationships

### Conforms To

- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Essentials

- [Configuring your app to use location services](corelocation/configuring-your-app-to-use-location-services.md)
- [Supporting live updates in SwiftUI and Mac Catalyst apps](corelocation/supporting-live-updates-in-swiftui-and-mac-catalyst-apps.md)
- [CLLocationManager](corelocation/cllocationmanager.md)
- [CLLocationUpdate](corelocation/cllocationupdate.md)
- [Adopting live updates in Core Location](corelocation/adopting-live-updates-in-core-location.md)
- [Monitoring location changes with Core Location](corelocation/monitoring-location-changes-with-core-location.md)
