inBackground method

Future<bool?>? inBackground()

Helper method to know if Unity has been put in background mode (WIP) unstable Returns true if unity player is in background.

Implementation

Future<bool?>? inBackground() {
  throw UnimplementedError('inBackground() has not been implemented.');
}