Package | Description |
---|---|
com.pi4j.platform |
Modifier and Type | Method and Description |
---|---|
static Platform |
Platform.fromId(String platformId)
Lookup a platform enumeration by the platform's unique identifier string.
|
protected static Platform |
PlatformManager.getDefaultPlatform()
Internal method to get the default platform.
|
static Platform |
PlatformManager.getPlatform()
Get the selected system platform.
|
static Platform |
Platform.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Platform[] |
Platform.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static GpioProvider |
Platform.getGpioProvider(Platform platform) |
static I2CFactoryProvider |
Platform.getI2CFactoryProvider(Platform platform) |
static SystemInfoProvider |
Platform.getSystemInfoProvider(Platform platform) |
static void |
PlatformManager.setPlatform(Platform platform)
Set the runtime platform for Pi4J to use.
|
Constructor and Description |
---|
PlatformAlreadyAssignedException(Platform platform)
Default Constructor
|
Copyright © 2012–2019 Pi4J. All rights reserved.