예제 #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)