setEffect abstract method

Future<void> setEffect(
  1. String trackId,
  2. XCameraEffect effect
)

Applies effect to the local video track trackId, releasing whichever track was effected before.

Returns once the platform has taken the command; status reaches XCameraEffectPhase.active when effected frames flow. XCameraEffect.none is clear.

Implementation

Future<void> setEffect(String trackId, XCameraEffect effect);