onData method
- VideoCommand data
override
A callback to run when new data is received from the parent.
Implementation
@override
void onData(VideoCommand data) {
if (data.details.interferesWithAutonomy) {
sendLog(LogLevel.error, "That would break autonomy");
} else {
super.onData(data);
}
}