GCMicroGamepadSnapshot.TryGetSnapshotData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TryGetSnapshotData(NSData, GCMicroGamepadSnapshotData) | |
TryGetSnapshotData(NSData, GCMicroGamepadSnapShotDataV100) |
Tries to obtain v100 snapshot data from an NSData object. |
TryGetSnapshotData(NSData, GCMicroGamepadSnapshotData)
[ObjCRuntime.TV(12, 2)]
public static bool TryGetSnapshotData (Foundation.NSData data, out GameController.GCMicroGamepadSnapshotData snapshotData);
static member TryGetSnapshotData : Foundation.NSData * -> bool
Parameters
- data
- NSData
- snapshotData
- GCMicroGamepadSnapshotData
Returns
- Attributes
Applies to
TryGetSnapshotData(NSData, GCMicroGamepadSnapShotDataV100)
Tries to obtain v100 snapshot data from an NSData object.
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'TryGetSnapshotData (NSData, out GCMicroGamepadSnapshotData)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, 4, ObjCRuntime.PlatformArchitecture.None, "Use 'TryGetSnapshotData (NSData, out GCMicroGamepadSnapshotData)' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'TryGetSnapshotData (NSData, out GCMicroGamepadSnapshotData)' instead.")]
public static bool TryGetSnapshotData (Foundation.NSData data, out GameController.GCMicroGamepadSnapShotDataV100 snapshotData);
public static bool TryGetSnapshotData (Foundation.NSData data, out GameController.GCMicroGamepadSnapShotDataV100 snapshotData);
static member TryGetSnapshotData : Foundation.NSData * -> bool
Parameters
- data
- NSData
The NSData from which to get the V100 data.
- snapshotData
- GCMicroGamepadSnapShotDataV100
The location in which to store the snapshot data.
Returns
true
if the data could be retrieved. Otherwise, false
.
- Attributes
Remarks
When the return value is false
, snapshotData
will contain F:System.IntPtr.Zero.