CradleConfig

EMDK For Android 5.0

The class to access cradle configuration.

Public Methods

getLocation

public CradleLocation getLocation()

Gets the cradle location.

Returns:

com.symbol.emdk.personalshopper.CradleConfig.CradleLocation - CradleLocation (row, column, wall)

Throws:

com.symbol.emdk.personalshopper.CradleException

setLocation

public int setLocation(CradleConfig.CradleLocation cradleLocation)

Sets the cradle location.

Parameters:

cradleLocation

Returns:

int - none

Throws:

com.symbol.emdk.personalshopper.CradleException

setFastChargingState

public int setFastChargingState(boolean isFastChargingState)

Sets fast charging state of cradle. True for fast charging and false slow charging state.

Parameters:

isFastChargingState - (true - to enable fast charge, false - to disable fast charge)

Returns:

int - none

Throws:

com.symbol.emdk.personalshopper.CradleException

getFastChargingState

public boolean getFastChargingState()

Gets fast charging state of the cradle. If the returned value is true, then the cradle is in fast charging state.

Returns:

boolean - ChargeMode (true - fast charge enabled, false - fast charge disabled)

Throws:

com.symbol.emdk.personalshopper.CradleException