Initializer

init(snapshotData:)

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

Declaration

init(snapshotData data: Data)

Parameters

data

A data object that contains snapshot data.

Return Value

A new snapshot object.

Discussion

The data format for a snapshot is private. Your snapshot object should only be created from flattened data previously obtained from a snapshot.

See Also

Converting Between Snapshots and Data Objects

init(controller: GCController, snapshotData: Data)

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

Deprecated
var snapshotData: Data

The flattened control input values for the snapshot.

Deprecated