public class CradleConfig
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CradleConfig.CradleLocation
The class for provides access to the cradle location.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getFastChargingState()
Gets fast charging state of the cradle.
|
CradleConfig.CradleLocation |
getLocation()
Gets the cradle location.
|
int |
setFastChargingState(boolean isFastChargingState)
Sets fast charging state of cradle.
|
int |
setLocation(CradleConfig.CradleLocation cradleLocation)
Sets the cradle location.
|
public CradleConfig.CradleLocation getLocation() throws CradleException
none
- CradleException
public int setLocation(CradleConfig.CradleLocation cradleLocation) throws CradleException
CradleLocation
- information (row, column, wall)CradleException
public int setFastChargingState(boolean isFastChargingState) throws CradleException
isFastChargingState
- (true - to enable fast charge, false - to disable fast charge)CradleException
public boolean getFastChargingState() throws CradleException
none
- CradleException