updatePlaybackState method

  1. @override
Future<void> updatePlaybackState(
  1. PlaybackState state
)
override

Updates the playback state on the current platform.

Implementation

@override
Future<void> updatePlaybackState(PlaybackState state) async {
  await methodChannel.invokeMethod('updatePlaybackState', state.toJson());
}