getCurrentPosition method
Implementation
@override
Future<int> getCurrentPosition(int textureId) async {
// TODO: sometimes will return 0 when seeking... seems a bug in windows media foundation API...
var value = await methodChannel
.invokeMethod<int>('getCurrentPosition', {"textureId": textureId});
return value ?? -1;
}