Skip to content
Kerri Shotts edited this page Apr 5, 2014 · 1 revision

(part of device)

Parameters:

  • None

Returns: boolean

Returns true if the device is an android phone or false if not. Based on formFactor and platform.

Usage

if (_y.device.droidPhone()) {
  // do android phone specific code
} else
{ // other code
}
Clone this wiki locally