---
title: uuid
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avexternalstoragedevice/uuid
---

# uuid

The external storage device’s unique identifier.

## Declaration

```swift
var uuid: UUID? { get }
```

## Discussion

Discussion The value is nil when the system can’t retrieve information from external storage device.

## See Also

### Inspecting a storage device

- [isConnected](avfoundation/avexternalstoragedevice/isconnected.md)
- [displayName](avfoundation/avexternalstoragedevice/displayname.md)
- [freeSize](avfoundation/avexternalstoragedevice/freesize.md)
- [totalSize](avfoundation/avexternalstoragedevice/totalsize.md)
- [isNotRecommendedForCaptureUse](avfoundation/avexternalstoragedevice/isnotrecommendedforcaptureuse.md)
- [reasonsNotRecommendedForCaptureUse](avfoundation/avexternalstoragedevice/reasonsnotrecommendedforcaptureuse.md)
- [AVExternalStorageDevice.ReasonNotRecommendedForCaptureUse](avfoundation/avexternalstoragedevice/reasonnotrecommendedforcaptureuse.md)
