| FoxitPDFSDKforWeb v11.1.0 Archives Foxit PDF SDK for Web

Variables
DeviceInfo
PDFViewCtrl

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

Determine if the current device is desktop.

Since
  9.0.0

## ◆ 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

@2026 Foxit Software Incorporated. All rights reserved.