<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DataDetection",
  "identifier" : "/documentation/DataDetection/DDMatchShipmentTrackingNumber",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "DataDetection"
    ],
    "preciseIdentifier" : "c:objc(cs)DDMatchShipmentTrackingNumber"
  },
  "title" : "DDMatchShipmentTrackingNumber"
}
-->

# DDMatchShipmentTrackingNumber

An object that contains parcel tracking information that the data detection system matches.

```
class DDMatchShipmentTrackingNumber
```

## Overview

The DataDetection framework returns a shipment tracking number match in a `DDMatchShipmentTrackingNumber` object, which contains a carrier name and tracking identifier.

## Topics

### Getting tracking information

[`carrier`](/documentation/DataDetection/DDMatchShipmentTrackingNumber/carrier)

The name of a parcel carrier.

[`trackingNumber`](/documentation/DataDetection/DDMatchShipmentTrackingNumber/trackingNumber)

A string that represents a carrier’s tracking identifier for a parcel.

## Relationships

### Inherits From

[`DDMatch`](/documentation/DataDetection/DDMatch)

### Conforms To

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`Hashable`](/documentation/Swift/Hashable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)