---
title: CLLocationSourceInformation
framework: corelocation
role: symbol
role_heading: Class
path: corelocation/cllocationsourceinformation
---

# CLLocationSourceInformation

Information about the source that provides a location.

## Declaration

```swift
class CLLocationSourceInformation
```

## Overview

Overview CLLocationSourceInformation contains information about the source that provides a CLLocation instance, such as instances that locationManager(_:didUpdateLocations:) delivers. For example, an app may choose to check the source information and reject locations if the isSimulatedBySoftware property is true when the developer isn’t debugging or testing the app.

## Topics

### Creating a location source information object

- [init(softwareSimulationState:andExternalAccessoryState:)](corelocation/cllocationsourceinformation/init(softwaresimulationstate:andexternalaccessorystate:).md)

### Identifying the source of location data

- [isProducedByAccessory](corelocation/cllocationsourceinformation/isproducedbyaccessory.md)
- [isSimulatedBySoftware](corelocation/cllocationsourceinformation/issimulatedbysoftware.md)

### Initializers

- [init(coder:)](corelocation/cllocationsourceinformation/init(coder:).md)

## Relationships

### Inherits From

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

### Conforms To

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

## See Also

### Location updates

- [Getting the current location of a device](corelocation/getting-the-current-location-of-a-device.md)
- [Handling location updates in the background](corelocation/handling-location-updates-in-the-background.md)
- [Creating a location push service extension](corelocation/creating-a-location-push-service-extension.md)
- [CLLocation](corelocation/cllocation.md)
- [CLLocationCoordinate2D](corelocation/cllocationcoordinate2d.md)
- [CLFloor](corelocation/clfloor.md)
- [CLVisit](corelocation/clvisit.md)
- [Monitoring location changes with Core Location](corelocation/monitoring-location-changes-with-core-location.md)
- [CLServiceSession](corelocation/clservicesession-pt7n.md)
