setDevicePostureOverride method

Future<void> setDevicePostureOverride(
  1. DevicePosture posture
)

Start reporting the given posture value to the Device Posture API. This override can also be set in setDeviceMetricsOverride().

Implementation

Future<void> setDevicePostureOverride(DevicePosture posture) async {
  await _client.send('Emulation.setDevicePostureOverride', {
    'posture': posture,
  });
}