API referenceVetraGlove ProJava (Android)

Glove device interfaces

Core interfaces

Current version · 2.0.0

GloveDevice

com.qnbot.sdk.glove.GloveDevice

GloveDevice.name

String name()

GloveDevice.sourceId

String sourceId()

GloveDevice.connect

void connect()

GloveDevice.start

void start()

GloveDevice.start

void start(CalibrationMode mode)

GloveDevice.stop

void stop()

GloveDevice.disconnect

void disconnect()

GloveDevice.health

Health health()

GloveDevice.getDeviceInfo

GloveDeviceInfo getDeviceInfo()

GloveDevice.pose

ReadChannel<GlovePose> pose()

GloveDevice.imu

ReadChannel<GloveImu> imu()

GloveDevice.emf

Type

ReadChannel<GloveEmf> emf()

Select raw EMF I/Q acquired in pairs with hand pose. Selection establishes paired acquisition at the confirmed pose rate. Correlate source, session and pair sequence, preserving signed integral values and invalid flags. On Android, select on a worker thread. See Raw EMF.

GloveDevice.pressure

ReadChannel<GlovePressure> pressure()

The Tactile ENF Positioning Glove (VetraGlove HMP-MX) reports 460 raw readings (0–255) in device order.

GloveDevice.skeleton

Skeleton skeleton()

GloveDevice.output

ReadChannel<HandJointCommand> output()

GloveDevice.output

ReadChannel<HandJointCommand> output(String outputName)

GloveDevice.pushFrame

GlovePose pushFrame(ExternalGloveFrame frame)

GloveDevice.calibrationProgress

ReadChannel<CalibrationProgress> calibrationProgress()

GloveDevice.calibrationProgress

ReadChannel<CalibrationProgress> calibrationProgress(String outputName)

GloveDevice.calibrationStatus

CalibrationReadiness calibrationStatus()

GloveDevice.calibrationStatus

CalibrationReadiness calibrationStatus(String outputName)

GloveDevice.createCaptureQualitySession

CaptureQualitySession createCaptureQualitySession()

Creates an independent capture quality session for this verified device, selecting the detector from device identity and hand side. See Standalone capture quality check.

GloveDevice.captureStatus

CaptureReadiness captureStatus(List<String> packageIds, String operatorId)

GloveDevice.startCapture

CaptureSession startCapture( List<String> packageIds, String operatorId, boolean force)

GloveDevice.startCalibration

CalibrationSession startCalibration(CaptureSession completed, List<String> targets)

GloveDevice.captureProgress

ReadChannel<CaptureProgress> captureProgress()

GloveDevice.captureControl

CaptureControl captureControl()

GloveDevice.haptics

StateChannel<Haptics> haptics()

GloveDevice.status

ReadChannel<GloveStatus> status()

GloveDevice.close

void close()

Skeleton

com.qnbot.sdk.glove.Skeleton

Skeleton.jointAngles

ReadChannel<HandJointCommand> jointAngles()

Skeleton.pose

ReadChannel<HandSkeletonPose> pose()