platform_detector library
Classes
- PlatformDetector
- PlatformDetector Class Documentation:
Functions
-
isAndroidApp(
[PlatformDetector? detector]) → bool -
- isAndroidApp :
true
if the current platform OS is Android and this is an Android Application. - isAndroidApp :
-
isAndroidOs(
[PlatformDetector? detector]) → bool -
- isAndroidOs :
true
if the current platform OS category is Android (It does not matter if it is a web or an application). - isAndroidOs :
-
isAndroidWeb(
[PlatformDetector? detector]) → bool -
- isAndroidWeb :
true
if the current platform is Web on Android. - isAndroidWeb :
-
isApple(
[PlatformDetector? detector]) → bool -
- isApple :
true
if the current platform's company is Apple. - isApple :
-
isDesktop(
[PlatformDetector? detector]) → bool -
- isDesktop :
true
if the current platform type is Desktop. - isDesktop :
-
isGoogle(
[PlatformDetector? detector]) → bool -
- isGoogle :
true
if the current platform's company is Google. - isGoogle :
-
isIOS(
[PlatformDetector? detector]) → bool -
- isIOS :
true
if the current platform OS category is iOS (It does not matter if it is a web or an application). - isIOS :
-
isIOSApp(
[PlatformDetector? detector]) → bool -
- isIOSApp :
true
if the current platform OS is iOS and this is an iOS Application. - isIOSApp :
-
isIOSWeb(
[PlatformDetector? detector]) → bool -
- isIOSWeb :
true
if the current platform is Web on iOS. - isIOSWeb :
-
isLinuxApp(
[PlatformDetector? detector]) → bool -
- isLinuxApp :
true
if the current platform OS is Linux and this is an Linux Application. - isLinuxApp :
-
isLinuxCommunity(
[PlatformDetector? detector]) → bool -
- isLinuxCommunity :
true
if the current platform's company is Linux. - isLinuxCommunity :
-
isLinuxOs(
[PlatformDetector? detector]) → bool -
- isLinuxOs :
true
if the current platform OS category is Linux (It does not matter if it is a web or an application). - isLinuxOs :
-
isLinuxWeb(
[PlatformDetector? detector]) → bool -
- isLinuxWeb :
true
if the current platform is Web on Linux. - isLinuxWeb :
-
isMacOs(
[PlatformDetector? detector]) → bool -
- isMacOs :
true
if the current platform OS category is MacOs (It does not matter if it is a web or an application). - isMacOs :
-
isMacOsApp(
[PlatformDetector? detector]) → bool -
- isMacOsApp :
true
if the current platform OS is MacOs and this is an MacOs Application. - isMacOsApp :
-
isMacOsWeb(
[PlatformDetector? detector]) → bool -
- isMacOsWeb :
true
if the current platform is Web on MacOs. - isMacOsWeb :
-
isMicrosoft(
[PlatformDetector? detector]) → bool -
- isMicrosoft :
true
if the current platform's company is Microsoft. - isMicrosoft :
-
isMobile(
[PlatformDetector? detector]) → bool -
- isMobile :
true
if the current platform type is Mobile. - isMobile :
-
isWeb(
[PlatformDetector? detector]) → bool -
- isWeb :
true
if the current platform type is Web. - isWeb :
-
isWindowsApp(
[PlatformDetector? detector]) → bool -
- isWindowsApp :
true
if the current platform OS is Windows and this is an Windows Application. - isWindowsApp :
-
isWindowsOs(
[PlatformDetector? detector]) → bool -
- isWindowsOs :
true
if the current platform OS category is Windows (It does not matter if it is a web or an application). - isWindowsOs :
-
isWindowsWeb(
[PlatformDetector? detector]) → bool -
- isWindowsWeb :
true
if the current platform is Web on Windows. - isWindowsWeb :