<!--
{
  "availability" : [
    "iOS: 7.0.0 - 13.0.0",
    "iPadOS: 7.0.0 - 13.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.9.0 - 10.15.0",
    "tvOS: 9.0.0 - 13.0.0",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "GameController",
  "identifier" : "/documentation/GameController/GCExtendedGamepadSnapshot",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCExtendedGamepadSnapshot"
  },
  "title" : "GCExtendedGamepadSnapshot"
}
-->

# GCExtendedGamepadSnapshot

A recording of all of the values provided by a [`GCExtendedGamepad`](/documentation/GameController/GCExtendedGamepad) object.

```
class GCExtendedGamepadSnapshot
```

## Overview

To create a gamepad snapshot, call the [`saveSnapshot()`](/documentation/GameController/GCExtendedGamepad/saveSnapshot()) method on a [`GCExtendedGamepad`](/documentation/GameController/GCExtendedGamepad) object. The [`GCExtendedGamepadSnapshot`](/documentation/GameController/GCExtendedGamepadSnapshot) class is a subclass of the [`GCExtendedGamepad`](/documentation/GameController/GCExtendedGamepad) class, so you use the parent class’s properties to read the individual element values. The snapshot is stored in a device independent format. To get the flattened data representation of the snapshot data, read the [`snapshotData`](/documentation/GameController/GCExtendedGamepadSnapshot/snapshotData) property.

## Topics

### Converting Between Extended Snapshots and Data Objects

[`-  initWithSnapshotData:`](/documentation/GameController/GCExtendedGamepadSnapshot/init(snapshotData:))

Initializes a snapshot object with the flattened data representation obtained from another snapshot.

[`-  initWithController:snapshotData:`](/documentation/GameController/GCExtendedGamepadSnapshot/init(controller:snapshotData:))

Initializes a snapshot object associated with a specific controller using a flattened data representation obtained from another snapshot.

[`snapshotData`](/documentation/GameController/GCExtendedGamepadSnapshot/snapshotData)

Flattens a snapshot into an archivable memory representation.

### Flattening a Snapshot to Memory

[`GCExtendedGamepadSnapShotDataV100`](/documentation/GameController/GCExtendedGamepadSnapShotDataV100)

A structure that holds a snapshot of an extended gamepad controller’s input data.

[`NSDataFromGCExtendedGamepadSnapShotDataV100`](/documentation/GameController/NSDataFromGCExtendedGamepadSnapShotDataV100(_:))

Encapsulates the controller data from an extended gamepad structure into a data object.

[`GCExtendedGamepadSnapShotDataV100FromNSData`](/documentation/GameController/GCExtendedGamepadSnapShotDataV100FromNSData(_:_:))

Copies the recorded data from an extended gamepad snapshot into a readable structure.

## Relationships

### Conforms To

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

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

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

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

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

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

### Inherits From

[`GCExtendedGamepad`](/documentation/GameController/GCExtendedGamepad)

---

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)