# Index

A C D E G H I N O R T
All Classes and Interfaces|All Packages|Serialized Form

## A

AbstractClawsServiceListener - Class in com.castlabs.sdk.claws
  Abstract implementation of `ClawsServiceListener` that provides default no-op implementations
AbstractClawsServiceListener() - Constructor for class com.castlabs.sdk.claws.AbstractClawsServiceListener
  Default constructor
addListener(ClawsServiceListener) - Method in class com.castlabs.sdk.claws.ClawsService
  Adds a listener to receive CLAWS service events.
addListener(ClawsServiceListener) - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Adds a listener for CLAWS service events.

## C

ClawsService - Class in com.castlabs.sdk.claws
  Service for handling CLAWS (CastLabs AWS) communication.
ClawsService() - Constructor for class com.castlabs.sdk.claws.ClawsService
  Default constructor.
ClawsService.TransferCallback - Interface in com.castlabs.sdk.claws
  Callback interface for transfer acknowledgments.
ClawsServiceBinder - Class in com.castlabs.sdk.claws
  Binder for the ClawsService.
ClawsServiceBinder(ClawsService) - Constructor for class com.castlabs.sdk.claws.ClawsServiceBinder
  Creates a new ClawsServiceBinder.
ClawsServiceConnection - Class in com.castlabs.sdk.claws
  Manages the connection to the ClawsService.
ClawsServiceConnection(ClawsServiceListener) - Constructor for class com.castlabs.sdk.claws.ClawsServiceConnection
  Constructs a new ClawsServiceConnection.
ClawsServiceListener - Interface in com.castlabs.sdk.claws
  Interface for receiving callbacks from the ClawsService.
com.castlabs.sdk.claws - package com.castlabs.sdk.claws
connect(String, String, String) - Method in class com.castlabs.sdk.claws.ClawsService
  Connects to the CLAWS server.
connect(String, String, String) - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Connects to the CLAWS server.
connectClaws() - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
  Connects to the Claws remote service.
connectService(Context) - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
  Connects to the ClawsService.

## D

Device - Class in com.castlabs.sdk.claws
  Represents a device.
Device(String, String) - Constructor for class com.castlabs.sdk.claws.Device
  Constructs a new Device object.
disconnect() - Method in class com.castlabs.sdk.claws.ClawsService
  Disconnects from the CLAWS server.
disconnect() - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Disconnects from the CLAWS server.
disconnectService() - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
  Disconnects from the ClawsService.

## E

emitTransferAccepted(long, Device) - Method in class com.castlabs.sdk.claws.ClawsService
  Emits an event indicating that a transfer has been accepted.
emitTransferAccepted(long, Device) - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Emits a transfer accepted event.
emitTransferAccepted(long, Device) - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
  Emits a transfer accepted event.
emitTransferCanceled(long, Device) - Method in class com.castlabs.sdk.claws.ClawsService
  Emits an event indicating that a transfer has been canceled.
emitTransferCanceled(long, Device) - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Emits a transfer canceled event.
emitTransferCanceled(long, Device) - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
  Emits a transfer canceled event.
equals(Object) - Method in class com.castlabs.sdk.claws.Device

## G

getBinder() - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
  Returns the ClawsServiceBinder.
getConnectedDevices() - Method in class com.castlabs.sdk.claws.ClawsService
  Gets the list of currently connected devices.
getConnectedDevices() - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Gets the list of connected devices.

## H

hashCode() - Method in class com.castlabs.sdk.claws.Device

## I

id - Variable in class com.castlabs.sdk.claws.Device
  The unique identifier of the device.

## N

name - Variable in class com.castlabs.sdk.claws.Device
  The name of the device.

## O

onAction(JSONObject) - Method in class com.castlabs.sdk.claws.AbstractClawsServiceListener
onAction(JSONObject) - Method in interface com.castlabs.sdk.claws.ClawsServiceListener
  Called when an action is received.
onBind(Intent) - Method in class com.castlabs.sdk.claws.ClawsService
onBinderAvailable(ClawsServiceBinder) - Method in class com.castlabs.sdk.claws.AbstractClawsServiceListener
onBinderAvailable(ClawsServiceBinder) - Method in interface com.castlabs.sdk.claws.ClawsServiceListener
  Called when the ClawsServiceBinder is available.
onCreate() - Method in class com.castlabs.sdk.claws.ClawsService
onDestroy() - Method in class com.castlabs.sdk.claws.ClawsService
onDeviceListUpdated(List<Device>) - Method in class com.castlabs.sdk.claws.AbstractClawsServiceListener
onDeviceListUpdated(List<Device>) - Method in interface com.castlabs.sdk.claws.ClawsServiceListener
  Called when the list of connected devices is updated.
onError(String) - Method in class com.castlabs.sdk.claws.AbstractClawsServiceListener
onError(String) - Method in interface com.castlabs.sdk.claws.ClawsServiceListener
  Called when an error occurs.
onServiceConnected(ComponentName, IBinder) - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
onServiceDisconnected(ComponentName) - Method in class com.castlabs.sdk.claws.ClawsServiceConnection
onTransferAck(String, String) - Method in interface com.castlabs.sdk.claws.ClawsService.TransferCallback
  Called when a transfer acknowledgment is received.
onTransferRequested(String, long, Device) - Method in class com.castlabs.sdk.claws.AbstractClawsServiceListener
onTransferRequested(String, long, Device) - Method in interface com.castlabs.sdk.claws.ClawsServiceListener
  Called when a transfer is requested.

## R

removeListener(ClawsServiceListener) - Method in class com.castlabs.sdk.claws.ClawsService
  Removes a previously added listener.
removeListener(ClawsServiceListener) - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Removes a listener for CLAWS service events.

## T

transfer(String, long, Device, ClawsService.TransferCallback) - Method in class com.castlabs.sdk.claws.ClawsService
  Initiates an asset transfer to a target device.
transfer(String, long, Device, ClawsService.TransferCallback) - Method in class com.castlabs.sdk.claws.ClawsServiceBinder
  Transfers an asset to a target device.

A C D E G H I N O R T
All Classes and Interfaces|All Packages|Serialized Form