enableWhenBackground method
Enable PIP mode when the app goes to background.
This method configures the system to automatically enter PIP mode when the user switches to another app or minimizes the current app.
Returns the current PiPStatus
indicating whether background PIP was successfully enabled.
Note: This feature may not be available on all platforms or devices.
Implementation
Future<PiPStatus> enableWhenBackground() async {
return await private.enableWhenBackground();
}