blueprint-nrcc
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

blueprint

capacitor blue print

Install

npm install blueprint
npx cap sync

API

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"

Readme

Keywords

Package Sidebar

Install

npm i blueprint-nrcc

Weekly Downloads

0

Version

0.0.4

License

MIT

Unpacked Size

92 kB

Total Files

34

Last publish

Collaborators

  • mbutt