setBackgroundKeepAlive method

Future<void> setBackgroundKeepAlive(
  1. bool enabled
)

Opts the session into a background keep-alive for off-device playback such as casting. Defaults to a no-op on platforms where not implemented.

Implementation

Future<void> setBackgroundKeepAlive(bool enabled) {
  return Future.value();
}