Source code for pyrokid_cxr_clientm.extend.callbacks.bluetooth_status_callback

"""com.rokid.cxr.client-m:1.0.9 - extend/callbacks/BluetoothStatusCallback.java in Python"""

from abc import ABC, abstractmethod
from ...utils import ValueUtil

[docs] class BluetoothStatusCallback(ABC): """com.rokid.cxr.client.extend.callbacks.BluetoothStatusCallback Java interface to Python - Please extend this class and implement the methods"""
[docs] @abstractmethod def onConnectionInfo(self, socketUuid: str, macAddress: str, rokidAccount: str, glassesType: int) -> None: pass
[docs] @abstractmethod def onConnected(self) -> None: pass
[docs] @abstractmethod def onDisconnected(self) -> None: pass
[docs] @abstractmethod def onFailed(self, cxrBluetoothErrorCode: ValueUtil.CxrBluetoothErrorCode) -> None: pass