loop property

int get loop

Loop count set by user.

Implementation

int get loop => _loop;
set loop (int value)

Set loop count. -1 is infinite loop. 0 is no loop.

Implementation

set loop(int value) {
  _loop = value;
  _player.ref.setLoop.asFunction<void Function(Pointer<mdkPlayer>, int)>()(
      _player.ref.object, value);
}