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:
Maxim Belov 2024-10-13 17:45:52 +03:00 committed by GitHub
parent 4e817a96a8
commit e830259beb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
* *