Package com.castlabs.sdk.claws

# Class AbstractClawsServiceListener

java.lang.Object
com.castlabs.sdk.claws.AbstractClawsServiceListener

All Implemented Interfaces:
  `ClawsServiceListener`

public abstract class AbstractClawsServiceListener extends Object implements ClawsServiceListener

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractClawsServiceListener()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `onAction(JSONObject action)`
  `void`
  `onBinderAvailable(ClawsServiceBinder binder)`
  `void`
  `onDeviceListUpdated(List<Device> connectedDevices)`
  `void`
  `onError(String message)`
  `void`
  `onTransferRequested(String assetId, long positionMs, Device sourceDevice)`

  ### Methods inherited from class java.lang.Object

  `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AbstractClawsServiceListener

    public AbstractClawsServiceListener()

- ## Method Details

  - ### onError

    public void onError(String message)
    Specified by:
      `onError` in interface `ClawsServiceListener`

  - ### onDeviceListUpdated

    public void onDeviceListUpdated(List<Device> connectedDevices)
    Specified by:
      `onDeviceListUpdated` in interface `ClawsServiceListener`

  - ### onBinderAvailable

    public void onBinderAvailable(ClawsServiceBinder binder)
    Specified by:
      `onBinderAvailable` in interface `ClawsServiceListener`

  - ### onTransferRequested

    public void onTransferRequested(String assetId, long positionMs, Device sourceDevice)
    Specified by:
      `onTransferRequested` in interface `ClawsServiceListener`

  - ### onAction

    public void onAction(JSONObject action)
    Specified by:
      `onAction` in interface `ClawsServiceListener`