Package org.robovm.apple.gamecontroller
Class GCGamepadSnapShotDataV100
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<GCGamepadSnapShotDataV100>
-
- org.robovm.apple.gamecontroller.GCGamepadSnapShotDataV100
-
- All Implemented Interfaces:
java.lang.Iterable<GCGamepadSnapShotDataV100>
public class GCGamepadSnapShotDataV100 extends org.robovm.rt.bro.Struct<GCGamepadSnapShotDataV100>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GCGamepadSnapShotDataV100.GCGamepadSnapShotDataV100Ptr
-
Constructor Summary
Constructors Constructor Description GCGamepadSnapShotDataV100()
GCGamepadSnapShotDataV100(short version, short size, float dpadX, float dpadY, float buttonA, float buttonB, float buttonX, float buttonY, float leftShoulder, float rightShoulder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getButtonA()
float
getButtonB()
float
getButtonX()
float
getButtonY()
NSData
getData()
float
getDpadX()
float
getDpadY()
float
getLeftShoulder()
float
getRightShoulder()
short
getSize()
short
getVersion()
GCGamepadSnapShotDataV100
setButtonA(float buttonA)
GCGamepadSnapShotDataV100
setButtonB(float buttonB)
GCGamepadSnapShotDataV100
setButtonX(float buttonX)
GCGamepadSnapShotDataV100
setButtonY(float buttonY)
boolean
setData(NSData data)
GCGamepadSnapShotDataV100
setDpadX(float dpadX)
GCGamepadSnapShotDataV100
setDpadY(float dpadY)
GCGamepadSnapShotDataV100
setLeftShoulder(float leftShoulder)
GCGamepadSnapShotDataV100
setRightShoulder(float rightShoulder)
GCGamepadSnapShotDataV100
setSize(short size)
GCGamepadSnapShotDataV100
setVersion(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
-
-
-
-
Method Detail
-
getVersion
public short getVersion()
-
setVersion
public GCGamepadSnapShotDataV100 setVersion(short version)
-
getSize
public short getSize()
-
setSize
public GCGamepadSnapShotDataV100 setSize(short size)
-
getDpadX
public float getDpadX()
-
setDpadX
public GCGamepadSnapShotDataV100 setDpadX(float dpadX)
-
getDpadY
public float getDpadY()
-
setDpadY
public GCGamepadSnapShotDataV100 setDpadY(float dpadY)
-
getButtonA
public float getButtonA()
-
setButtonA
public GCGamepadSnapShotDataV100 setButtonA(float buttonA)
-
getButtonB
public float getButtonB()
-
setButtonB
public GCGamepadSnapShotDataV100 setButtonB(float buttonB)
-
getButtonX
public float getButtonX()
-
setButtonX
public GCGamepadSnapShotDataV100 setButtonX(float buttonX)
-
getButtonY
public float getButtonY()
-
setButtonY
public GCGamepadSnapShotDataV100 setButtonY(float buttonY)
-
getLeftShoulder
public float getLeftShoulder()
-
setLeftShoulder
public GCGamepadSnapShotDataV100 setLeftShoulder(float leftShoulder)
-
getRightShoulder
public float getRightShoulder()
-
setRightShoulder
public GCGamepadSnapShotDataV100 setRightShoulder(float rightShoulder)
-
setData
public boolean setData(NSData data)
- Since:
- Available in iOS 7.0 and later.
-
getData
public NSData getData()
- Since:
- Available in iOS 7.0 and later.
-
-