Class Pixy2.Version
- java.lang.Object
-
- io.github.pseudoresonance.pixy2api.Pixy2.Version
-
- Enclosing class:
- Pixy2
public static class Pixy2.Version extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
firmwareBuild
protected int
firmwareMajor
protected int
firmwareMinor
protected char[]
firmwareType
protected int
hardware
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFirmwareBuild()
Gets Pixy2 Firmware Version Buildint
getFirmwareMajor()
Gets Pixy2 Firmware Version Majorint
getFirmwareMinor()
Gets Pixy2 Firmware Version Minorchar[]
getfirmwareType()
Gets Pixy2 Firmware Typejava.lang.String
getFirmwareTypeString()
Gets Pixy2 Firmware Typeint
getHardware()
Gets Pixy2 Hardware Versionvoid
print()
Prints version data to consolejava.lang.String
toString()
Returns a string of version data
-
-
-
Method Detail
-
print
public void print()
Prints version data to console
-
toString
public java.lang.String toString()
Returns a string of version data- Overrides:
toString
in classjava.lang.Object
- Returns:
- String of version data;
-
getHardware
public int getHardware()
Gets Pixy2 Hardware Version- Returns:
- Pixy2 Hardware Version
-
getFirmwareMajor
public int getFirmwareMajor()
Gets Pixy2 Firmware Version Major- Returns:
- Pixy2 Firmware Version Major
-
getFirmwareMinor
public int getFirmwareMinor()
Gets Pixy2 Firmware Version Minor- Returns:
- Pixy2 Firmware Version Minor
-
getFirmwareBuild
public int getFirmwareBuild()
Gets Pixy2 Firmware Version Build- Returns:
- Pixy2 Firmware Version Build
-
getfirmwareType
public char[] getfirmwareType()
Gets Pixy2 Firmware Type- Returns:
- Pixy2 Firmware Type
-
getFirmwareTypeString
public java.lang.String getFirmwareTypeString()
Gets Pixy2 Firmware Type- Returns:
- Pixy2 Firmware Type
-
-