outsystems-ui - v2.30.0
    Preparing search index...

    Class DeviceInfoAbstract

    Index
    • get HasAccessibilityEnabled(): boolean

      Getter that returns if the application is running in a device with accessibility enabled.

      Returns boolean

      DeviceInfo

    • get IsDesktop(): boolean

      Getter that returns if the application is running in a desktop device.

      Returns boolean

      OSFramework.Helper.DeviceInfo

    • get IsPhone(): boolean

      Getter that returns if the application is running in a phone device.

      Returns boolean

      OSFramework.Helper.DeviceInfo

    • get IsIphoneWithNotch(): boolean

      Getter that retuns if the application is running in a iPhone with a notch (iphoneX/iphone12/iphone13).

      Returns boolean

      OSFramework.Helper.DeviceInfo

    • get IsTablet(): boolean

      Getter that returns if the application is running in a tablet device.

      Returns boolean

      OSFramework.Helper.DeviceInfo

    • get IsPwa(): boolean

      Getter that returns if the application is running as a PWA.

      Returns boolean

      OSFramework.Helper.DeviceInfo

    • get IsNative(): boolean

      Getter that returns if the application is running inside a native shell.

      Returns boolean

      OSFramework.Helper.DeviceInfo

    • get IsAndroid(): boolean

      Getter that returns if the application is running inside a native shell and the device is Android.

      Returns boolean

      DeviceInfo

    • get IsIos(): boolean

      Getter that returns if the application is running inside a native shell and the device is iOS.

      Returns boolean

      DeviceInfo

    • get IsTouch(): boolean

      Getter that returns if the device is touched enabled or not.

      Returns boolean

      OSFramework.Helper.DeviceInfo

    • Gets in which browser the framework is running, based in the UserAgent information.

      Parameters

      • OptionaluserAgent: string = ''

        Optional parameter. If none is passed, the framework will get it.

      Returns Browser

      {GlobalEnum.Browser}

      OSFramework.Helper.DeviceInfo

    • Gets the device in which the framework is running, based on the class added by the OutSystems platform in the body.

      Returns DeviceType

      {GlobalEnum.DeviceType} Detected device type.

      OSFramework.Helper.DeviceInfo

    • Obtains the Operating system in which the framework is running

      Parameters

      • OptionaluserAgent: string = ''

        Optional parameter. If none, the framework will obtain the UserAgent, calculate it once, and use the cache value afterwards.

      Returns MobileOS

      {GlobalEnum.MobileOS} Detected operating system.

      OSFramework.Helper.DeviceInfo