示例#1
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self, addr='org.bluez.AudioSink',
                              *args, **kwargs)
     self._register_signal_name(BTAudioSink.SIGNAL_CONNECTED)
     self._register_signal_name(BTAudioSink.SIGNAL_DISCONNECTED)
     self._register_signal_name(BTAudioSink.SIGNAL_PLAYING)
     self._register_signal_name(BTAudioSink.SIGNAL_STOPPED)
示例#2
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self, addr='org.bluez.Headset',
                              *args, **kwargs)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_RING)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_CALL_TERMINATED)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_CALL_STARTED)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_CALL_ENDED)
示例#3
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self,
                              addr='org.bluez.Headset',
                              *args,
                              **kwargs)
     self._register_signal_name(BTHeadset.SIGNAL_ANSWER_REQUESTED)
     self._register_signal_name(BTHeadset.SIGNAL_SPEAKER_GAIN_CHANGED)
     self._register_signal_name(BTHeadset.SIGNAL_MICROPHONE_GAIN_CHANGED)
示例#4
0
文件: audio.py 项目: mLupine/btaudio
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self,
                              addr='org.bluez.AudioSink',
                              *args,
                              **kwargs)
     self._register_signal_name(BTAudioSink.SIGNAL_CONNECTED)
     self._register_signal_name(BTAudioSink.SIGNAL_DISCONNECTED)
     self._register_signal_name(BTAudioSink.SIGNAL_PLAYING)
     self._register_signal_name(BTAudioSink.SIGNAL_STOPPED)
示例#5
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self,
                              addr='org.bluez.Headset',
                              *args,
                              **kwargs)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_RING)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_CALL_TERMINATED)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_CALL_STARTED)
     self._register_signal_name(BTHeadsetGateway.SIGNAL_CALL_ENDED)
示例#6
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self, addr='org.bluez.Headset',
                              *args, **kwargs)
     self._register_signal_name(BTHeadset.SIGNAL_ANSWER_REQUESTED)
     self._register_signal_name(BTHeadset.SIGNAL_SPEAKER_GAIN_CHANGED)
     self._register_signal_name(BTHeadset.SIGNAL_MICROPHONE_GAIN_CHANGED)
示例#7
0
文件: audio.py 项目: mLupine/btaudio
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self,
                              addr='org.bluez.AudioSource',
                              *args,
                              **kwargs)
示例#8
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self, addr='org.bluez.Input', *args, **kwargs)
示例#9
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self, addr='org.bluez.Input',
                              *args, **kwargs)
示例#10
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self, addr='org.bluez.Control',
                              *args, **kwargs)
     self._register_signal_name(BTControl.SIGNAL_CONNECTED)
     self._register_signal_name(BTControl.SIGNAL_DISCONNECTED)
示例#11
0
 def __init__(self, *args, **kwargs):
     BTGenericDevice.__init__(self, addr='org.bluez.AudioSource',
                              *args, **kwargs)