| FoxitPDFSDKforWeb v11.0.6 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

Examples:
  /builds/foxit/phantom/cloud/phantompdf_online/foxitwebsdk/doxygen/workspace/headerfiles/uix-addons/thumbnail/thumbUIComponent.js.

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

@2025 Foxit Software Incorporated. All rights reserved.