attachPreviewTexture abstract method

Future<void> attachPreviewTexture(
  1. int textureId, {
  2. int? width,
  3. int? height,
})

Attaches this instance's preview stream to an existing texture.

A subsequent startPreview call renders into the attached texture.

Implementation

Future<void> attachPreviewTexture(int textureId, {int? width, int? height});