---
title: stringValue
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmetadatamachinereadablecodeobject/stringvalue
---

# stringValue

Returns the error-corrected data decoded into a human-readable string.

## Declaration

```swift
var stringValue: String? { get }
```

## Discussion

Discussion The value of this property is an NSString created by decoding the binary payload according to the format of the machine-readable code, or nil if a string representation cannot be created.

## See Also

### Getting machine-readable code values

- [corners](avfoundation/avmetadatamachinereadablecodeobject/corners-58qbe.md)
- [descriptor](avfoundation/avmetadatamachinereadablecodeobject/descriptor.md)
