setSoundSourcePositioningStatus method
Implementation
Future<Map<String, dynamic>> setSoundSourcePositioningStatus(
String deviceSerial,
bool enable, {
int? channelNo,
}) async {
final body = <String, dynamic>{
'deviceSerial': deviceSerial,
'enable': enable ? 1 : 0,
};
if (channelNo != null) body['channelNo'] = channelNo;
// Corrected endpoint based on API doc section name (1.9 Set Sound Source Positioning Status)
return _client.post('/api/lapp/device/ssl/switch/set', body);
}