Package org.robovm.apple.gamecontroller
Class GCMicroGamepadSnapShotDataV100
java.lang.Object
org.robovm.rt.bro.NativeObject
org.robovm.rt.bro.Struct<GCMicroGamepadSnapShotDataV100>
org.robovm.apple.gamecontroller.GCMicroGamepadSnapShotDataV100
- All Implemented Interfaces:
Iterable<GCMicroGamepadSnapShotDataV100>
public class GCMicroGamepadSnapShotDataV100 extends Struct<GCMicroGamepadSnapShotDataV100>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGCMicroGamepadSnapShotDataV100.GCMicroGamepadSnapShotDataV100Ptr -
Constructor Summary
Constructors Constructor Description GCMicroGamepadSnapShotDataV100()GCMicroGamepadSnapShotDataV100(short version, short size, float dpadX, float dpadY, float buttonA, float buttonX) -
Method Summary
Modifier and Type Method Description floatgetButtonA()floatgetButtonX()booleangetData(NSData data)Deprecated.Deprecated in iOS 13.0.floatgetDpadX()floatgetDpadY()shortgetSize()shortgetVersion()GCMicroGamepadSnapShotDataV100setButtonA(float buttonA)GCMicroGamepadSnapShotDataV100setButtonX(float buttonX)GCMicroGamepadSnapShotDataV100setDpadX(float dpadX)GCMicroGamepadSnapShotDataV100setDpadY(float dpadY)GCMicroGamepadSnapShotDataV100setSize(short size)GCMicroGamepadSnapShotDataV100setVersion(short version)Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
Constructor Details
-
GCMicroGamepadSnapShotDataV100
public GCMicroGamepadSnapShotDataV100() -
GCMicroGamepadSnapShotDataV100
public GCMicroGamepadSnapShotDataV100(short version, short size, float dpadX, float dpadY, float buttonA, float buttonX)
-
-
Method Details
-
getVersion
public short getVersion() -
setVersion
-
getSize
public short getSize() -
setSize
-
getDpadX
public float getDpadX() -
setDpadX
-
getDpadY
public float getDpadY() -
setDpadY
-
getButtonA
public float getButtonA() -
setButtonA
-
getButtonX
public float getButtonX() -
setButtonX
-
getData
Deprecated.Deprecated in iOS 13.0. GCMicroGamepadSnapshot has been deprecated, use [GCController controllerWithMicroGamepad] instead- Since:
- Available in iOS 9.0 and later.
-