GCExtendedGamepadSnapShotDataV100FromNSData(_:_:)
Copies the recorded data from an extended gamepad snapshot into a readable structure.
Declaration
func GCExtendedGamepadSnapShotDataV100FromNSData(_ snapshotData: UnsafeMutablePointer<GCExtendedGamepadSnapShotDataV100>?, _ data: Data?) -> BoolParameters
- snapshotData:
A pointer to memory to fill with the shapshot data.
- data:
An Nsdata object that contains recorded data. Often, this is obtained by calling the Snapshotdata method of a Gcextendedgamepadsnapshot object.
Return Value
true if the data could be copied, false if snapshotData is nil, data is nil, or if the contents of data do not contain a compatible snapshot.