BBPOSDeviceWorkflowAction

com.anywherecommerce.android.sdk.devices.bbpos

Class BBPOSDeviceWorkflowAction

WorkflowAction

Created by Admin on 9/28/2017. Provides a flow-oriented reactive framework for BBPOS device workflow events



- 

<a name="field.summary"></a>

### Field Summary
    
    Modifier and TypeField and Description`protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><BBDeviceController.BatteryStatus>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#batteryLowEventListener">batteryLowEventListener</a></span>` `protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#interruptedListener">interruptedListener</a></span>` `protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#teardownListener">teardownListener</a></span>` `protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#timeoutEventListener">timeoutEventListener</a></span>` `protected 

<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#unanticipatedErrorListener">unanticipatedErrorListener</a></span>`




<a name="constructor.summary"></a>

### Constructor Summary
    
    Constructor and Description`<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#BBPOSDeviceWorkflowAction-java.lang.String-">BBPOSDeviceWorkflowAction</a></span>(java.lang.String action)` ```
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#BBPOSDeviceWorkflowAction-java.lang.String-java.lang.Object...-">BBPOSDeviceWorkflowAction</a></span>(java.lang.String action,
                             java.lang.Object... params)
    ```




<a name="method.summary"></a>

### Method Summary
    
    Modifier and TypeMethod and Description`void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#cancel--">cancel</a></span>()` `protected void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#dispatchBatteryLowEvent-BBDeviceController.BatteryStatus-">dispatchBatteryLowEvent</a></span>(BBDeviceController.BatteryStatus status)` `void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#dispatchErrorEvent-com.anywherecommerce.android.sdk.MeaningfulError-">dispatchErrorEvent</a></span>(

<a href="#com/anywherecommerce/android/sdk/MeaningfulError.html" title="class in com.anywherecommerce.android.sdk">MeaningfulError</a> error)` `void``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#execute--">execute</a></span>()` `java.lang.String``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#getCommandToInvoke--">getCommandToInvoke</a></span>()` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#handleConnectionEventsManually--">handleConnectionEventsManually</a></span>()` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onAnticipatedError-BBDeviceController.Error-com.anywherecommerce.android.sdk.MeaningfulErrorListener-">onAnticipatedError</a></span>(BBDeviceController.Error error,
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)
    ``` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onAnticipatedError-java.util.EnumSet-com.anywherecommerce.android.sdk.MeaningfulErrorListener-">onAnticipatedError</a></span>(java.util.EnumSet<BBDeviceController.Error> errorEnumSet,
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)
    ``` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onBatteryLow-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-">onBatteryLow</a></span>(

<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><BBDeviceController.BatteryStatus> listener)` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onCompletionEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListener-">onCompletionEvent</a></span>(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)
    ``` `<T> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onCompletionEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-">onCompletionEvent</a></span>(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><T> listener)
    ``` `<T,U> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onCompletionEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithTwoParams-">onCompletionEvent</a></span>(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithTwoParams.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithTwoParams</a><T,U> listener)
    ``` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onInterrupted-com.anywherecommerce.android.sdk.GenericEventListener-">onInterrupted</a></span>(

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onNotificationEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListener-">onNotificationEvent</a></span>(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)
    ``` `<T> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onNotificationEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-">onNotificationEvent</a></span>(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><T> listener)
    ``` `<T,U> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onNotificationEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithTwoParams-">onNotificationEvent</a></span>(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithTwoParams.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithTwoParams</a><T,U> listener)
    ``` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onTeardown-com.anywherecommerce.android.sdk.GenericEventListener-">onTeardown</a></span>(

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>``<span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#onUnanticipatedError-com.anywherecommerce.android.sdk.MeaningfulErrorListener-">onUnanticipatedError</a></span>(

<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)` `

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a>````
    <span class="memberNameLink">

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html#setTimeout-int-com.anywherecommerce.android.sdk.GenericEventListener-">setTimeout</a></span>(int interval,
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> timeoutListener)
    ``` 
    

<a name="methods.inherited.from.class.java.lang.Object"></a>

### Methods inherited from class java.lang.Object
          
          `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`



- 

<a name="field.detail"></a>

### Field Detail
<a name="unanticipatedErrorListener"></a>
    

#### unanticipatedErrorListener
          
          `protected 

<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> unanticipatedErrorListener`
<a name="interruptedListener"></a>
    

#### interruptedListener
          
          `protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> interruptedListener`
<a name="timeoutEventListener"></a>
    

#### timeoutEventListener
          
          `protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> timeoutEventListener`
<a name="teardownListener"></a>
    

#### teardownListener
          
          `protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> teardownListener`
<a name="batteryLowEventListener"></a>
    

#### batteryLowEventListener
          
          `protected 

<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><BBDeviceController.BatteryStatus> batteryLowEventListener`




<a name="constructor.detail"></a>

### Constructor Detail
<a name="BBPOSDeviceWorkflowAction-java.lang.String-"></a>
    

#### BBPOSDeviceWorkflowAction
          
          `public BBPOSDeviceWorkflowAction(java.lang.String action)`
<a name="BBPOSDeviceWorkflowAction-java.lang.String-java.lang.Object...-"></a>
    

#### BBPOSDeviceWorkflowAction
          
          ```
          public BBPOSDeviceWorkflowAction(java.lang.String action,
                                           java.lang.Object... params)
          ```




<a name="method.detail"></a>

### Method Detail
<a name="getCommandToInvoke--"></a>
    

#### getCommandToInvoke
          
          `public java.lang.String getCommandToInvoke()`
<a name="cancel--"></a>
    

#### cancel
          
          `public void cancel()`Specified by:`

<a href="#com/anywherecommerce/android/sdk/devices/WorkflowAction.html#cancel--">cancel</a>` in class `

<a href="#com/anywherecommerce/android/sdk/devices/WorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices">WorkflowAction</a>`
<a name="handleConnectionEventsManually--"></a>
    

#### handleConnectionEventsManually
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> handleConnectionEventsManually()`
<a name="onAnticipatedError-java.util.EnumSet-com.anywherecommerce.android.sdk.MeaningfulErrorListener-"></a>
    

#### onAnticipatedError
          
          ```
          public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onAnticipatedError(java.util.EnumSet<BBDeviceController.Error> errorEnumSet,
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)
          ```
<a name="onAnticipatedError-BBDeviceController.Error-com.anywherecommerce.android.sdk.MeaningfulErrorListener-"></a>
    

#### onAnticipatedError
          
          ```
          public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onAnticipatedError(BBDeviceController.Error error,
<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)
          ```
<a name="onUnanticipatedError-com.anywherecommerce.android.sdk.MeaningfulErrorListener-"></a>
    

#### onUnanticipatedError
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onUnanticipatedError(

<a href="#com/anywherecommerce/android/sdk/MeaningfulErrorListener.html" title="interface in com.anywherecommerce.android.sdk">MeaningfulErrorListener</a> listener)`
<a name="onInterrupted-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
    

#### onInterrupted
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onInterrupted(

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)`
<a name="onTeardown-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
    

#### onTeardown
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onTeardown(

<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)`
<a name="setTimeout-int-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
    

#### setTimeout
          
          ```
          public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> setTimeout(int interval,
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> timeoutListener)
          ```
<a name="onNotificationEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
    

#### onNotificationEvent
          
          ```
          public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onNotificationEvent(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)
          ```
<a name="onNotificationEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-"></a>
    

#### onNotificationEvent
          
          ```
          public <T> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onNotificationEvent(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><T> listener)
          ```
<a name="onNotificationEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithTwoParams-"></a>
    

#### onNotificationEvent
          
          ```
          public <T,U> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onNotificationEvent(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithTwoParams.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithTwoParams</a><T,U> listener)
          ```
<a name="onCompletionEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListener-"></a>
    

#### onCompletionEvent
          
          ```
          public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onCompletionEvent(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListener.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListener</a> listener)
          ```
<a name="onCompletionEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-"></a>
    

#### onCompletionEvent
          
          ```
          public <T> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onCompletionEvent(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><T> listener)
          ```
<a name="onCompletionEvent-java.lang.String-com.anywherecommerce.android.sdk.GenericEventListenerWithTwoParams-"></a>
    

#### onCompletionEvent
          
          ```
          public <T,U> 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onCompletionEvent(java.lang.String methodName,
<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithTwoParams.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithTwoParams</a><T,U> listener)
          ```
<a name="onBatteryLow-com.anywherecommerce.android.sdk.GenericEventListenerWithParam-"></a>
    

#### onBatteryLow
          
          `public 

<a href="#com/anywherecommerce/android/sdk/devices/bbpos/BBPOSDeviceWorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices.bbpos">BBPOSDeviceWorkflowAction</a> onBatteryLow(

<a href="#com/anywherecommerce/android/sdk/GenericEventListenerWithParam.html" title="interface in com.anywherecommerce.android.sdk">GenericEventListenerWithParam</a><BBDeviceController.BatteryStatus> listener)`
<a name="execute--"></a>
    

#### execute
          
          `public void execute()`Specified by:`

<a href="#com/anywherecommerce/android/sdk/devices/WorkflowAction.html#execute--">execute</a>` in class `

<a href="#com/anywherecommerce/android/sdk/devices/WorkflowAction.html" title="class in com.anywherecommerce.android.sdk.devices">WorkflowAction</a>`
<a name="dispatchBatteryLowEvent-BBDeviceController.BatteryStatus-"></a>
    

#### dispatchBatteryLowEvent
          
          `protected void dispatchBatteryLowEvent(BBDeviceController.BatteryStatus status)`
<a name="dispatchErrorEvent-com.anywherecommerce.android.sdk.MeaningfulError-"></a>
    

#### dispatchErrorEvent
          
          `public void dispatchErrorEvent(

<a href="#com/anywherecommerce/android/sdk/MeaningfulError.html" title="class in com.anywherecommerce.android.sdk">MeaningfulError</a> error)`