seekTo method

  1. @override
Future<void> seekTo(
  1. int textureId,
  2. int ms
)
override

Implementation

@override
Future<void> seekTo(int textureId, int ms) async {
  // TODO: will auto play after seek, it seems there is no way to seek without playing in windows media foundation API...
  await methodChannel
      .invokeMethod<bool>('seekTo', {"textureId": textureId, "ms": ms});
}