FoxitPDFSDKforWeb v10.0.0
Foxit PDF SDK for Web
DeviceInfo

A namespace containing variables used to determine the current device type. More...

Variables

const boolean isDesktop
 Determine if the current device is desktop. More...
 
const boolean isMobile
 Determine if the current device is mobile. More...
 
const boolean isTablet
 Determine if the current device is tablet. More...
 

Detailed Description

A namespace containing variables used to determine the current device type.

Note
The determination of device type is based on naviguator.userAgent, and user modification of userAgent will affect the result.
Since
9.0.0

Variable Documentation

◆ isDesktop

const boolean isDesktop

◆ isMobile

const boolean isMobile

Determine if the current device is mobile.

Since
9.0.0

◆ isTablet

const boolean isTablet

Determine if the current device is tablet.

Since
9.0.0

Foxit Software Corporation Logo
@2024 Foxit Software Incorporated. All rights reserved.