Package io.rong.imkit.utils.keyboard

## Class KeyboardHeightProvider

- All Implemented Interfaces:

      public class KeyboardHeightProvider

  The keyboard height provider, this class uses a PopupWindow to calculate the window height when the floating keyboard is opened and closed.

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `KeyboardHeightProvider(Activity activity)` | Construct a new KeyboardHeightProvider

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `start()` |
    `void` | `stop()` |
    `void` | `setKeyboardHeightObserver(KeyboardHeightObserver observer)` |

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

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

- - ### Constructor Detail

    - #### KeyboardHeightProvider

          KeyboardHeightProvider(Activity activity)

      Construct a new KeyboardHeightProvider
      Parameters:
        `activity` - The parent activity

  - ### Method Detail

    - #### start

           void start()

    - #### stop

           void stop()

    - #### setKeyboardHeightObserver

           void setKeyboardHeightObserver(KeyboardHeightObserver observer)