# audioplayers_platform_interface **Repository Path**: lpe/audioplayers_platform_interface ## Basic Information - **Project Name**: audioplayers_platform_interface - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-06-27 - **Last Updated**: 2025-10-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README
--- # audioplayers_platform_interface A common platform interface for the [`audioplayers`](https://pub.dev/packages/audioplayers) plugin. ## Usage This package will be automatically included in your app, which means you can simply use `audioplayers` normally, without adding this package to your `pubspec.yaml`. To implement a new platform-specific implementation of `audioplayers`, extend [`AudioplayersPlatformInterface`](lib/src/audioplayers_platform_interface.dart) with an implementation that performs the platform-specific behavior. When you register your plugin, set the default `AudioplayersPlatformInterface` by calling `AudioplayersPlatformInterface.instance = MyAudioplayersPlatform()`. Then do the same for [`GlobalAudioplayersPlatformInterface`](lib/src/global_audioplayers_platform_interface.dart).