onStart method

  1. @Deprecated("Use AudioService.init instead.")
Future<void> onStart(
  1. Map<String, dynamic>? params
)

Deprecated. The new AudioHandler API now automatically starts the service when your implementation enters the playing state. Parameters can be passed via AudioHandler.customAction.

Implementation

@Deprecated("Use AudioService.init instead.")
Future<void> onStart(Map<String, dynamic>? params) async {}