onPlay property

void onPlay=(void func(PlayEvent))

See PlayEvent for details on this event.

Implementation

set onPlay(void Function(PlayEvent) func);