---
title: SRFaceMetrics.Context
framework: sensorkit
role: symbol
role_heading: Structure
path: sensorkit/srfacemetrics/context-swift.struct
---

# SRFaceMetrics.Context

The context of the system during the camera session.

## Declaration

```swift
struct Context
```

## Topics

### Camera contexts

- [deviceUnlock](sensorkit/srfacemetrics/context-swift.struct/deviceunlock.md)
- [messagingAppUsage](sensorkit/srfacemetrics/context-swift.struct/messagingappusage.md)

### Creating camera contexts

- [init(rawValue:)](sensorkit/srfacemetrics/context-swift.struct/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.md)

## See Also

### Getting session information

- [sessionIdentifier](sensorkit/srfacemetrics/sessionidentifier.md)
- [context](sensorkit/srfacemetrics/context-swift.property.md)
- [version](sensorkit/srfacemetrics/version.md)
