io.agora.rtc

## Class RtmpConnInfo

- java.lang.Object
- - io.agora.rtc.RtmpConnInfo

-     public class RtmpConnInfo
      extends java.lang.Object

  Information about RTMP connection.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private int` | `state` Connection state

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RtmpConnInfo()` Default constructor for RtmpConnInfo.
    `RtmpConnInfo(int state)` Constructs RtmpConnInfo with state.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getState()` Gets the connection state.
    `void` | `setState(int state)` Sets the connection state.

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

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

- - ### Field Detail

    - #### state

          private int state

      Connection state

  - ### Constructor Detail

    - #### RtmpConnInfo

          public RtmpConnInfo()

      Default constructor for RtmpConnInfo.

    - #### RtmpConnInfo

          public RtmpConnInfo(int state)

      Constructs RtmpConnInfo with state.
      Parameters:
        `state` - Connection state

  - ### Method Detail

    - #### getState

          public int getState()

      Gets the connection state.
      Returns:
        Connection state

    - #### setState

          public void setState(int state)

      Sets the connection state.
      Parameters:
        `state` - Connection state