isAutoRotationAllowed property

bool? get isAutoRotationAllowed

True when the auto-rotation is allowed. It happens when the device is in a tablet physical state or kSupportsClamshellAutoRotation is set. Provided for ChromeOS Settings UI only. TODO(stevenjb): Remove when Settings switches to a mojo API.

Implementation

bool? get isAutoRotationAllowed => _wrapped.isAutoRotationAllowed;
set isAutoRotationAllowed (bool? v)

Implementation

set isAutoRotationAllowed(bool? v) {
  _wrapped.isAutoRotationAllowed = v;
}