# CompressionMethod Enumeration Reference



## Scope and provenance

- Product: mobile
- Status: Imported reference snapshot. Import date is not a verification date or guarantee of current release support.
- SDK version: Not declared for this page. Versions in examples must not be assumed current.
- Environment: Page-specific. Confirm the environment host, credentials, and service configuration; do not infer them from another product.
- Source: https://documentation.idmission.com/identity/iOS-SDK-2/Enums/CompressionMethod.html
- Imported at: 2026-10-21T17:27:02.187Z
- Canonical page: https://docs.idmission.com/mobile/reference/ios/Enums/CompressionMethod
- Agent index: https://docs.idmission.com/llms.txt

---

<a id="compressionmethod"></a>

# CompressionMethod

```
public enum CompressionMethod : UInt16
```

The compression method of an `Entry` in a ZIP `Archive`.

- <a id="/s:17IDentitySDK_Swift17CompressionMethodO4noneyA2CmF"></a>

  <a id="//apple_ref/swift/Element/none"></a>

  `none`

  Indicates that an `Entry` has no compression applied to its contents.

  <a id="declaration"></a>

  #### Declaration

  Swift

  ```
  case none = 0
  ```

- <a id="/s:17IDentitySDK_Swift17CompressionMethodO7deflateyA2CmF"></a>

  <a id="//apple_ref/swift/Element/deflate"></a>

  `deflate`

  Indicates that contents of an `Entry` have been compressed with a zlib compatible Deflate algorithm.

  <a id="declaration-2"></a>

  #### Declaration

  Swift

  ```
  case deflate = 8
  ```

<a id="footer"></a>

© 2024 [IDmission](https://www.idmission.com/). All rights reserved. (Last updated: 2024-08-27)

Generated by [jazzy ♪♫ v0.14.2](https://github.com/realm/jazzy), a [Realm](https://realm.io/) project.
