forked from Flairmesh/FlooCast
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFlooStateMachineDelegate.py
More file actions
50 lines (37 loc) · 1.61 KB
/
Copy pathFlooStateMachineDelegate.py
File metadata and controls
50 lines (37 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
class FlooStateMachineDelegate:
def deviceDetected(self, flag: bool, port: str, version : str = None):
"""Called when FlooGoo device connection state changes."""
pass
def audioModeInd(self, mode: int):
"""Called when FlooGoo device reports current audio mode."""
pass
def sourceStateInd(self, state: int):
"""Called when FlooGoo device reports current source state."""
pass
def leAudioStateInd(self, state: int):
"""Called when FlooGoo device reports current LE audio state."""
pass
def broadcastModeInd(self, state: int):
"""Called when FlooGoo device reports current broadcast mode."""
pass
def preferLeaInd(self, state: int):
"""Called when FlooGoo device reports current preferLea mode."""
pass
def broadcastNameInd(self, name):
"""Called when FlooGoo device reports current LE audio state."""
pass
def pairedDevicesUpdateInd(self, pairedDevices):
"""Called when FlooGoo device reports current paired devices list"""
pass
def audioCodecInUseInd(self, codec, rssi, rate):
"""Called when FlooGoo device reports current in use audio codec"""
pass
def ledEnabledInd(self, enabled):
"""Called when FlooGoo device reports current setting of LED"""
pass
def aptxLosslessEnabledInd(self, enabled):
"""Called when FlooGoo device reports current setting of aptx lossless"""
pass
def gattClientEnabledInd(self, enabled):
"""Called when FlooGoo device reports current setting of Gatt Client Function"""
pass