testState method
Implementation
Future<void> testState() async {
final int usedFrameRate = await smartlook.state.getFrameRate();
debugPrint("Used frame rate: $usedFrameRate");
final String? usedProjectKey = await smartlook.state.getProjectKey();
debugPrint("Project key: $usedProjectKey");
final RenderingMode usedRenderingMode = await smartlook.state.getRenderingMode();
debugPrint("Rendering mode: $usedRenderingMode");
final recordingStatus = await smartlook.state.getRecordingStatus();
final bool isRecording = recordingStatus.isRecording;
debugPrint("isRecording: $isRecording");
final RecordingStatus usedRecordingStatus = recordingStatus;
debugPrint("Recording status: $usedRecordingStatus");
await smartlook.state.getFrameRate();
final int newFrameRate = await smartlook.state.getFrameRate();
assert(newFrameRate == 10);
}