onFrame property

FutureOr<void> Function(int playerId)? onFrame
getter/setter pair

@detail callback @brief The callback for the audio frames during local audio file mixing. @param playerId Player's ID. @param frame See IAudioFrame{@link #IAudioFrame}.

Implementation

FutureOr<void> Function(int playerId)? onFrame;