Module: device

Methods

(static) getInfo() → {Object}

Source:
Returns:
Type
Object

(static) getScreenDensity() → {Number}

Get the device screen density
Source:
Returns:
The density
Type
Number

(static) getScreenHeight() → {Number}

Get the device screen width
Source:
Returns:
The height
Type
Number

(static) getScreenWidth() → {Number}

Get the device screen width
Source:
Returns:
The width
Type
Number

(static) isIPad() → {Boolean}

Source:
Returns:
Type
Boolean

(static) isIPhone() → {Boolean}

Source:
Returns:
Type
Boolean

(static) isSimulator() → {Boolean}

Check if current device is a Simulator
Source:
Returns:
Type
Boolean