Coverage for src / bluetooth_sig / gatt / characteristics / track_duration.py: 100%
5 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"""Track Duration characteristic (0x2B98)."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import Sint32Template
9class TrackDurationCharacteristic(BaseCharacteristic[int]):
10 """Track Duration characteristic (0x2B98).
12 org.bluetooth.characteristic.track_duration
14 Duration of the current track in hundredths of a second.
15 A value of -1 indicates the duration is unknown.
16 """
18 _template = Sint32Template()