<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "applicensedeliverysdk",
  "identifier" : "/documentation/AppLicenseDeliverySDK/ALDLicenseAttribute",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "App License Delivery SDK"
    ],
    "preciseIdentifier" : "s:3ALD19ALDLicenseAttributeV"
  },
  "title" : "ALDLicenseAttribute"
}
-->

# ALDLicenseAttribute

A structure that defines the requested license type for the session.

```
struct ALDLicenseAttribute
```

## Topics

### Initializers

[`init(licenseID: UInt64)`](/documentation/AppLicenseDeliverySDK/ALDLicenseAttribute/init(licenseID:))

Create a license attribue

### Instance Properties

[`var duration: UInt64`](/documentation/AppLicenseDeliverySDK/ALDLicenseAttribute/duration)

The maximum amount of time, in seconds, that iOS considers the license valid.

[`var issuedTime: UInt64`](/documentation/AppLicenseDeliverySDK/ALDLicenseAttribute/issuedTime)

### Instance Methods

[`func addAppKey(ALDAppKey) throws`](/documentation/AppLicenseDeliverySDK/ALDLicenseAttribute/addAppKey(_:))

Add an AppKey to be associated with this license

[`func revokeAppleItemID(UInt64) throws`](/documentation/AppLicenseDeliverySDK/ALDLicenseAttribute/revokeAppleItemID(_:))

An appleItemID to be revoked by the license

---

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)