Home
API reference

DeviceProfile

strata-game-library/capacitor

strata-game-library/capacitor


strata-game-library/capacitor / DeviceProfile

Interface: DeviceProfile

Defined in: definitions.ts:6

Properties

deviceType

deviceType: DeviceType

Defined in: definitions.ts:7


hasGamepad

hasGamepad: boolean

Defined in: definitions.ts:13


hasPointer

hasPointer: boolean

Defined in: definitions.ts:12


hasTouch

hasTouch: boolean

Defined in: definitions.ts:11


inputMode

inputMode: InputMode

Defined in: definitions.ts:9


isDesktop

isDesktop: boolean

Defined in: definitions.ts:17


isFoldable

isFoldable: boolean

Defined in: definitions.ts:16


isMobile

isMobile: boolean

Defined in: definitions.ts:14


isTablet

isTablet: boolean

Defined in: definitions.ts:15


orientation

orientation: Orientation

Defined in: definitions.ts:10


pixelRatio

pixelRatio: number

Defined in: definitions.ts:20


platform

platform: Platform

Defined in: definitions.ts:8


safeAreaInsets

safeAreaInsets: object

Defined in: definitions.ts:21

bottom

bottom: number

left

left: number

right: number

top

top: number


screenHeight

screenHeight: number

Defined in: definitions.ts:19


screenWidth

screenWidth: number

Defined in: definitions.ts:18