AttachedNotificationSubscription
public class AttachedNotificationSubscription extends Object implements NotificationSubscription
Constructors
| Name | Description |
|---|---|
public AttachedNotificationSubscription()
|
Methods
extract
public GearState extract(byte[] packet)
Parameters
| Name | Description |
|---|---|
byte[] packet
|
ReturnValue
| Name | Description |
|---|---|
GearState
|
Use to subscribe to gear attach/detach notification.
When the gear is attached of detached aGearStatewill be emitted fromConnectedJacquardTag