removeTrack method

void removeTrack()

(Android Only) removeTrack is used to remove the track from the texture view.

Implementation

void removeTrack() {
  if (Platform.isAndroid) {
    PlatformService.invokeMethod(PlatformMethod.removeTrack,
        arguments: {"texture_id": textureId.toString()});
  }
}