
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
bluetooth-simple-android-plugin
Advanced tools
Capacitorjs plugin to use the bluetooth adapter of an android device. simply and direct / Complemento Capacitorjs para usar el adaptador bluetooth de un dispositivo Android. simple y directo
Capacitorjs plugin to use the bluetooth adapter of an android device. simply and direct / Plugin de Capacitorjs para usar el adaptador bluetooth de un dispositivo Android. simple y directo
npm install bluetooth-simple-android-plugin
npx cap sync
Para utilizar este plugin se necesita activar los siguientes permisos en el archivo manifest / To use this plugin you need to activate the following permissions in the manifest
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Simplemente importe la clase. Luego puede utilizar sus metodos estáricos directamente. Simply import the class. Afther, you can use its static methods directly.
import { BluetoothSimple } from 'bluetooth-simple-android-plugin';
setName(options: { name: string; }) => any
Cambia el nombre del dispositivo. Change the name of device.
Param | Type | Description |
---|---|---|
options | { name: string; } | Nombre que queires cambiar. Name that you want to change. |
Returns: any
startDiscovery(callback: MyPluginCallback) => void
Activa la detección de los dispositivos visibles. Cada vez que se detecta un nuevo dispositivo se lanza la funcion callback pasada por parámetros. Activate the detection of visible devices. For each new device is detected, is throw the callback function passed by params.
Param | Type | Description |
---|---|---|
callback | (message: MyData | null, err?: any) => void | Función que se ejecutará segun se vayan descubriendo los dispositivos. |
setDiscoverable() => any
Activa el estado de ser detectado del dispositivo. Activate the state of to be detected of device.
Returns: any
FAQs
Capacitorjs plugin to use the bluetooth adapter of an android device. simply and direct / Complemento Capacitorjs para usar el adaptador bluetooth de un dispositivo Android. simple y directo
The npm package bluetooth-simple-android-plugin receives a total of 3 weekly downloads. As such, bluetooth-simple-android-plugin popularity was classified as not popular.
We found that bluetooth-simple-android-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.