This class helps you to get device's screen properties like size, orientation, force touch enabled etc. Also you can capture screen with Device.Screen.capture function.
import Screen from '@smartface/native/device/screen';
console.log("Device.Screen.dpi: " + Screen.dpi);
console.log("Device.Screen.width: " + Screen.width);
console.log("Device.Screen.height: " + Screen.height);
console.log("Device.Screen.touchSupported: " + Screen.touchSupported);
console.log("Device.Screen.orientation: " + Screen.orientation);
console.log("Device.Screen.capture(): " + Screen.capture());
Gets current device screen orientation.
Gets height of device screen.
Gets width of device screen.
Gets if device screen has feature support for touching.
Gets dpi of device screen.
Generated using TypeDoc