Coverage for src / bluetooth_sig / types / audio_context_type.py: 100%
15 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
1"""Audio context type definitions shared by audio context characteristics."""
3from __future__ import annotations
5from enum import IntFlag
8class AudioContextType(IntFlag):
9 """Audio context type flags (uint16 bitfield).
11 Used by Available Audio Contexts and Supported Audio Contexts.
12 """
14 UNSPECIFIED = 0x0001
15 CONVERSATIONAL = 0x0002
16 MEDIA = 0x0004
17 GAME = 0x0008
18 INSTRUCTIONAL = 0x0010
19 VOICE_ASSISTANTS = 0x0020
20 LIVE = 0x0040
21 SOUND_EFFECTS = 0x0080
22 NOTIFICATIONS = 0x0100
23 RINGTONE = 0x0200
24 ALERTS = 0x0400
25 EMERGENCY_ALARM = 0x0800