---
title: NSDeviceDescriptionKey
framework: appkit
role: symbol
role_heading: Structure
path: appkit/nsdevicedescriptionkey
---

# NSDeviceDescriptionKey

These constants are the keys for device description dictionaries.

## Declaration

```swift
struct NSDeviceDescriptionKey
```

## Topics

### Type Properties

- [bitsPerSample](appkit/nsdevicedescriptionkey/bitspersample.md)
- [colorSpaceName](appkit/nsdevicedescriptionkey/colorspacename.md)
- [isPrinter](appkit/nsdevicedescriptionkey/isprinter.md)
- [isScreen](appkit/nsdevicedescriptionkey/isscreen.md)
- [resolution](appkit/nsdevicedescriptionkey/resolution.md)
- [size](appkit/nsdevicedescriptionkey/size.md)

### Initializers

- [init(_:)](appkit/nsdevicedescriptionkey/init(_:).md)
- [init(rawValue:)](appkit/nsdevicedescriptionkey/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting Screen Information

- [depth](appkit/nsscreen/depth.md)
- [frame](appkit/nsscreen/frame.md)
- [supportedWindowDepths](appkit/nsscreen/supportedwindowdepths.md)
- [deviceDescription](appkit/nsscreen/devicedescription.md)
- [colorSpace](appkit/nsscreen/colorspace.md)
- [localizedName](appkit/nsscreen/localizedname.md)
- [canRepresent(_:)](appkit/nsscreen/canrepresent(_:).md)
- [NSDisplayGamut](appkit/nsdisplaygamut.md)
- [screensHaveSeparateSpaces](appkit/nsscreen/screenshaveseparatespaces.md)
