adderlib.presets module
- class adderlib.presets.AdderPreset(properties: dict)
Bases:
object
Adderlink Preset
- class ActiveState(value)
Bases:
enum.Enum
An enumeration.
- FULL = 'full'
- NONE = 'none'
- PARTIAL = 'partial'
- UNKNOWN = 'unknown'
- class ButtonState(value)
Bases:
enum.Enum
Video-only mode capabilities
- DISABLED = 'disabled'
- ENABLED = 'enabled'
- HIDDEN = 'hidden'
- UNKNOWN = 'unknown'
- class Pair(channel: adderlib.channels.AdderChannel, receiver: adderlib.devices.AdderReceiver)
Bases:
object
A channel/receiver pair
- channel: adderlib.channels.AdderChannel
- receiver: adderlib.devices.AdderReceiver
- property connected_rx_count: int
The number of receivers already connected to this preset
- property control_button: adderlib.presets.AdderPreset.ButtonState
Indicates the state of the full-control button
- property currently_active: adderlib.presets.AdderPreset.ActiveState
Determines if any of the channel/receiver pairs are currently active
- property description: str
Preset description
- property exclusive_button: adderlib.presets.AdderPreset.ButtonState
Indicates the state of the video-only view button
- property id: str
Preset ID
- property name: str
Preset name
- property pair_count: int
Number of valid channel/receiver pairs
- property pair_problem_count: int
Number of problematic channel/receiver pairs
Indicates the state of the shared view button
- property view_button: adderlib.presets.AdderPreset.ButtonState
Indicates the state of the video-only view button