Package io.rong.imkit.utils

## Class SystemBarTintManager.SystemBarConfig

- All Implemented Interfaces:

      public class SystemBarTintManager.SystemBarConfig

  Class which describes system bar sizing and other characteristics for the current device configuration.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `isNavigationAtBottom()` | Should a navigation bar appear at the bottom of the screen in the current device configuration?
    `int` | `getStatusBarHeight()` | Get the height of the system status bar.
    `int` | `getActionBarHeight()` | Get the height of the action bar.
    `boolean` | `hasNavigtionBar()` | Does this device have a system navigation bar?
    `int` | `getNavigationBarHeight()` | Get the height of the system navigation bar.
    `int` | `getNavigationBarWidth()` | Get the width of the system navigation bar when it is placed vertically on the screen.
    `int` | `getPixelInsetTop(boolean withActionBar)` | Get the layout inset for any system UI that appears at the top of the screen.
    `int` | `getPixelInsetBottom()` | Get the layout inset for any system UI that appears at the bottom of the screen.
    `int` | `getPixelInsetRight()` | Get the layout inset for any system UI that appears at the right of the screen.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

  - ### Method Detail

    - #### isNavigationAtBottom

           boolean isNavigationAtBottom()

      Should a navigation bar appear at the bottom of the screen in the current device configuration? A navigation bar may appear on the right side of the screen in certain configurations.

      Returns:

        True if navigation should appear at the bottom of the screen, False otherwise.

    - #### getStatusBarHeight

           int getStatusBarHeight()

      Get the height of the system status bar.

      Returns:

        The height of the status bar (in pixels).

    - #### getActionBarHeight

           int getActionBarHeight()

      Get the height of the action bar.

      Returns:

        The height of the action bar (in pixels).

    - #### hasNavigtionBar

           boolean hasNavigtionBar()

      Does this device have a system navigation bar?

      Returns:

        True if this device uses soft key navigation, False otherwise.

    - #### getNavigationBarHeight

           int getNavigationBarHeight()

      Get the height of the system navigation bar.

      Returns:

        The height of the navigation bar (in pixels). If the device does not have soft navigation keys, this will always return 0.

    - #### getNavigationBarWidth

           int getNavigationBarWidth()

      Get the width of the system navigation bar when it is placed vertically on the screen.

      Returns:

        The width of the navigation bar (in pixels). If the device does not have soft navigation keys, this will always return 0.

    - #### getPixelInsetTop

           int getPixelInsetTop(boolean withActionBar)

      Get the layout inset for any system UI that appears at the top of the screen.

      Parameters:
        `withActionBar` - True to include the height of the action bar, False otherwise.
      Returns:

        The layout inset (in pixels).

    - #### getPixelInsetBottom

           int getPixelInsetBottom()

      Get the layout inset for any system UI that appears at the bottom of the screen.

      Returns:

        The layout inset (in pixels).

    - #### getPixelInsetRight

           int getPixelInsetRight()

      Get the layout inset for any system UI that appears at the right of the screen.

      Returns:

        The layout inset (in pixels).