startPtz method
Future<Map<String, dynamic> >
startPtz(
- String deviceSerial,
- int channelNo, {
- required PtzCommand direction,
- required PtzSpeed speed,
Implementation
Future<Map<String, dynamic>> startPtz(
String deviceSerial,
int channelNo, {
required PtzCommand direction,
required PtzSpeed speed,
}) async {
return _ptzControl('/api/lapp/device/ptz/start', deviceSerial, channelNo, {
'direction': direction.index,
'speed': speed.index,
});
}