blueprint-nrcc
v0.0.4
Published
capacitor bluetooth print
Readme
blueprint
capacitor blue print
Install
npm install blueprint
npx cap syncAPI
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>| Param | Type |
| ------------- | ------------------------------- |
| options | { value: string; } |
Returns: Promise<{ value: string; }>
list()
list() => Promise<{ devices: BluetoothDevice[]; }>Returns: Promise<{ devices: BluetoothDevice[]; }>
connect(...)
connect(options: { address: string; }) => Promise<void>| Param | Type |
| ------------- | --------------------------------- |
| options | { address: string; } |
print(...)
print(options: { address: string; data: string; printType: string; }) => Promise<void>| Param | Type |
| ------------- | ------------------------------------------------------------------ |
| options | { address: string; data: string; printType: string; } |
disconnect()
disconnect() => Promise<void>connectAndPrint(...)
connectAndPrint(options: { address: string; data: string; printType: string; }) => Promise<void>| Param | Type |
| ------------- | ------------------------------------------------------------------ |
| options | { address: string; data: string; printType: string; } |
Type Aliases
BluetoothDevice
{ name: string, address: string, type: BluetoothDeviceType }
Enums
BluetoothDeviceType
| Members | Value |
| ------------- | ---------------------- |
| Unknown | "unknown" |
| Classic | "classic" |
| Le | "le" |
| Dual | "dual" |
