Skip to content

PagePlatform

PagePlatform #

Bases: Enum

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

ANDROID = 'android' #

ANDROID_TV = 'android_tv' #

IOS = 'ios' #

LINUX = 'linux' #

MACOS = 'macos' #

WINDOWS = 'windows' #

is_apple() -> bool #

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

is_desktop() -> bool #

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

is_mobile() -> bool #

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