star-micronics-capacitor
v0.1.4
Published
Capacitor Plugin for Star Micronics SDK
Downloads
10
Maintainers
Readme
star-micronics-capacitor
Capacitor Plugin for Star Micronics SDK
Install
npm install star-micronics-capacitor
npx cap sync
API
getDevices()
getDevices() => Promise<{ devices: StarMicronicsDevice[]; }>
Returns: Promise<{ devices: StarMicronicsDevice[]; }>
connect(...)
connect(options: { deviceId: string; }) => Promise<void>
| Param | Type |
| ------------- | ---------------------------------- |
| options
| { deviceId: string; } |
disconnect(...)
disconnect(options: { deviceId: string; }) => Promise<void>
| Param | Type |
| ------------- | ---------------------------------- |
| options
| { deviceId: string; } |
Interfaces
StarMicronicsDevice
| Prop | Type |
| -------------- | ------------------- |
| name
| string |
| deviceId
| string |
| uuids
| [] |