setFullDevice method

Future<void> setFullDevice(
  1. FullDeviceState state
)

Sets the state of the full device mode. Setting this to false when the session is capturing in full device mode will end any active full device capturing mechanisms (e.g. ReplayKit).

Throws a PlatformException if the full-device mode cannot be activated (e.g. no network).

Implementation

Future<void> setFullDevice(FullDeviceState state) async {
  Map updatedSession =
      await CobrowseIO.instance._setSessionFullDevice(this, state);
  _fill(updatedSession);
}