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 - CradleExceptionpublic int setLocation(CradleConfig.CradleLocation cradleLocation) throws CradleException
CradleLocation - information (row, column, wall)CradleExceptionpublic int setFastChargingState(boolean isFastChargingState)
                         throws CradleException
isFastChargingState - (true - to enable fast charge, false - to disable fast charge)CradleExceptionpublic boolean getFastChargingState()
                             throws CradleException
none - CradleException