mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 00:12:53 +08:00
feat(bluetooth-classic-serial-port): add method initialize (#4847)
* feat(bluetooth-classic-serial-port): add method initialize * Update index.ts
This commit is contained in:
parent
4e817a96a8
commit
e830259beb
@ -63,6 +63,16 @@ export interface BluetoothClassicSerialPortDevice {
|
|||||||
})
|
})
|
||||||
@Injectable()
|
@Injectable()
|
||||||
export class BluetoothClassicSerialPort extends AwesomeCordovaNativePlugin {
|
export class BluetoothClassicSerialPort extends AwesomeCordovaNativePlugin {
|
||||||
|
/**
|
||||||
|
* Initialize
|
||||||
|
*/
|
||||||
|
@Cordova({
|
||||||
|
platforms: ['Android', 'iOS'],
|
||||||
|
})
|
||||||
|
initialize(): Promise<any> {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Connect to a Bluetooth device
|
* Connect to a Bluetooth device
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user