PlatformPlayer constructor

PlatformPlayer({
  1. required PlayerConfiguration configuration,
})

PlatformPlayer

This class provides the interface for platform specific Player implementations. The platform specific implementations are expected to implement the methods accordingly.

The subclasses are then used in composition with the Player class, based on the platform the application is running on.

Implementation

PlatformPlayer({required this.configuration});