setCameraFeed method
Set a video file as the mock camera stream feed.
assetPath is the path to a video asset bundled in the test app,
e.g. 'assets/test_video.mp4'.
The mock SDK will play this video in a loop as if it were coming live from the glasses camera.
Implementation
Future<void> setCameraFeed(String assetPath) async {
await _channel.invokeMethod<void>('mock_setCameraFeed', {
'deviceId': deviceId,
'assetPath': assetPath,
});
}