onPlay property

set onPlay (void func(PlayEvent))

See PlayEvent for details on this event.

Implementation

set onPlay(void Function(PlayEvent) func);