RpcClient¶
-
public interface
RpcClient
¶
Methods¶
closeDevice¶
-
void
closeDevice
(int handle, RpcRequest.Callback callback)¶ Closes a device.
Parameters: - handle – Handle to the device. The handle is provided in the callback supplied to
openDevice(String,RpcRequest.Callback)
- handle – Handle to the device. The handle is provided in the callback supplied to
getDeviceProperty¶
-
void
getDeviceProperty
(int handle, Property property, RpcRequest.Callback callback)¶ Gets the value of a device property
Parameters: - handle – Device handle
- property – Property to get
- callback – Callback which will be invoke with the response
getProperty¶
-
void
getProperty
(Property property, RpcRequest.Callback callback)¶ Gets the value of a Capture property
Parameters: - property – Property to get
- callback – Callback which will be invoke with the response
openDevice¶
-
void
openDevice
(String guid, RpcRequest.Callback callback)¶ Opens a device. A device must be open to configure it and to receive notifications from the device, including decoded data notifications
Parameters: - guid – The guid of the device to open
- callback – Callback that will be invoked with the response that contains the device handle
setDeviceProperty¶
-
void
setDeviceProperty
(int handle, Property property, RpcRequest.Callback callback)¶ Set the value of a device property
Parameters: - handle – Device handle
- property – Property to set
setProperty¶
-
void
setProperty
(Property property, RpcRequest.Callback callback)¶ Set the value of a Capture property
Parameters: - property – Property to set