getMicrophoneStatus method

Future<Map<String, dynamic>> getMicrophoneStatus(
  1. String deviceSerial
)

Implementation

Future<Map<String, dynamic>> getMicrophoneStatus(String deviceSerial) async {
  // Note: API response for this is a list, but typically a single device/channel status is expected.
  // The response `data` field is a List<DeviceSwitchStatus>.
  return _client.post('/api/lapp/camera/video/sound/status', {
    'deviceSerial': deviceSerial,
  });
}