🚨 Shai-Hulud Strikes Again:More than 500 packages and 700+ versions compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@kduma-autoid/capacitor-bluetooth-printer

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kduma-autoid/capacitor-bluetooth-printer

Allows printing on SPP BT printers

latest
Source
npmnpm
Version
0.2.1
Version published
Maintainers
1
Created
Source

@kduma-autoid/capacitor-bluetooth-printer

Allows printing on SPP BT printers

Install

npm install @kduma-autoid/capacitor-bluetooth-printer
npx cap sync

API

  • list()
  • connect(...)
  • print(...)
  • disconnect()
  • connectAndPrint(...)
  • Type Aliases
  • Enums

list()

list() => Promise<{ devices: BluetoothDevice[]; }>

Returns: Promise<{ devices: BluetoothDevice[]; }>

connect(...)

connect(options: { address: string; }) => Promise<void>
ParamType
options{ address: string; }

print(...)

print(options: { data: string; }) => Promise<void>
ParamType
options{ data: string; }

disconnect()

disconnect() => Promise<void>

connectAndPrint(...)

connectAndPrint(options: { address: string; data: string; }) => Promise<void>
ParamType
options{ address: string; data: string; }

Type Aliases

BluetoothDevice

{ name: string, address: string, type: BluetoothDeviceType }

Enums

BluetoothDeviceType

MembersValue
Unknown"unknown"
Classic"classic"
Le"le"
Dual"dual"

Keywords

capacitor

FAQs

Package last updated on 09 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts