Skip to main content

PagePlatform

Supported platforms for a page, including mobile and desktop systems. Each platform corresponds to a specific operating system or environment.

Inherits: enum.Enum

Properties

Methods

Properties

ANDROIDclass-attributeinstance-attribute

ANDROID_TVclass-attributeinstance-attribute

IOSclass-attributeinstance-attribute

LINUXclass-attributeinstance-attribute

MACOSclass-attributeinstance-attribute

WINDOWSclass-attributeinstance-attribute

Methods

is_apple

is_apple()

Whether this PagePlatform instance is an Apple (iOS or macOS) platform.

is_desktop

is_desktop()

Whether this PagePlatform instance is a desktop (macOS, Windows, Linux) platform.

is_mobile

is_mobile()

Whether this PagePlatform instance is a mobile (iOS or Android) platform.