---
title: deviceName
framework: passkit
role: symbol
role_heading: Instance Property
path: passkit/pkpass/devicename
---

# deviceName

The name of the device that hosts the pass.

## Declaration

```swift
var deviceName: String { get }
```

## Discussion

Discussion If isRemotePass is true, this property contains the name of the paired device that stores the pass; otherwise, it contains the name of the device.

## See Also

### Identifying a pass

- [passType](passkit/pkpass/passtype.md)
- [PKPassType](passkit/pkpasstype.md)
- [secureElementPass](passkit/pkpass/secureelementpass.md)
- [serialNumber](passkit/pkpass/serialnumber.md)
- [passTypeIdentifier](passkit/pkpass/passtypeidentifier.md)
- [localizedName](passkit/pkpass/localizedname.md)
- [localizedDescription](passkit/pkpass/localizeddescription.md)
- [isRemotePass](passkit/pkpass/isremotepass.md)
- [paymentPass](passkit/pkpass/paymentpass.md)
