<!--
{
  "availability" : [
    "iOS: 9.0.0 - 13.0.0",
    "iPadOS: 9.0.0 - 13.0.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "macOS: 10.11.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/GCMicroGamepadSnapshot",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Game Controller"
    ],
    "preciseIdentifier" : "c:objc(cs)GCMicroGamepadSnapshot"
  },
  "title" : "GCMicroGamepadSnapshot"
}
-->

# GCMicroGamepadSnapshot

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

```
class GCMicroGamepadSnapshot
```

## Overview

To create a gamepad snapshot, call the [`saveSnapshot()`](/documentation/GameController/GCGamepad/saveSnapshot()) method on a [`GCMicroGamepad`](/documentation/GameController/GCMicroGamepad) object. The [`GCMicroGamepadSnapshot`](/documentation/GameController/GCMicroGamepadSnapshot) class is a subclass of the [`GCMicroGamepad`](/documentation/GameController/GCMicroGamepad) 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/GCMicroGamepadSnapshot/snapshotData) property.

## Topics

### Converting Between Snapshots and Data Objects

[`init(snapshotData:)`](/documentation/GameController/GCMicroGamepadSnapshot/init(snapshotData:))

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

[`init(controller:snapshotData:)`](/documentation/GameController/GCMicroGamepadSnapshot/init(controller:snapshotData:))

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

The flattened control input values for the snapshot.

### Flattening a Snapshot to Memory

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

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

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

Encapsulates the controller data from a micro gamepad structure into a data object.

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

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



---

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)