Modules: app/util/deviceUtil

Utilities to detect the user's device

Source:

Members


<static, constant> isAndroid :boolean

True if this is an android device

Type:
  • boolean
Source:

<static, constant> isAnyTouchDevice :boolean

True if this is a mobile device

Type:
  • boolean
Source:

<static, constant> isIOS :boolean

True if this is an iOS device

Type:
  • boolean
Source:

<static, constant> isIOSNine :boolean

True if this is an IOS device with IOS version 9

Type:
  • boolean
Source:

Methods


getDevice(device)

Parameters:
Name Type Description
device
Source:
Returns:
Type
boolean

getOsVersion()

Source:
Returns:
Type
string | null | boolean

Modules: app/util/deviceUtil

Utilities to detect the user's ios version

Source:

Members


<static, constant> isAndroid :boolean

True if this is an android device

Type:
  • boolean
Source:

<static, constant> isAnyTouchDevice :boolean

True if this is a mobile device

Type:
  • boolean
Source:

<static, constant> isIOS :boolean

True if this is an iOS device

Type:
  • boolean
Source:

<static, constant> isIOSNine :boolean

True if this is an IOS device with IOS version 9

Type:
  • boolean
Source:

Methods


getDevice(device)

Parameters:
Name Type Description
device
Source:
Returns:
Type
boolean

getOsVersion()

Source:
Returns:
Type
string | null | boolean