io.agora.rtc

## Class VideoSubscriptionOptions

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

-     public class VideoSubscriptionOptions
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private int` | `encodedFrameOnly`
    `private int` | `type`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VideoSubscriptionOptions()`
    `VideoSubscriptionOptions(int type, int encodedFrameOnly)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `int` | `getEncodedFrameOnly()`
    `int` | `getType()`
    `void` | `setEncodedFrameOnly(int encodedFrameOnly)`
    `void` | `setType(int type)`
    `java.lang.String` | `toString()`

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

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

- - ### Field Detail

    - #### type

          private int type

    - #### encodedFrameOnly

          private int encodedFrameOnly

  - ### Constructor Detail

    - #### VideoSubscriptionOptions

          public VideoSubscriptionOptions()

    - #### VideoSubscriptionOptions

          public VideoSubscriptionOptions(int type,
                                          int encodedFrameOnly)

  - ### Method Detail

    - #### getType

          public int getType()

    - #### setType

          public void setType(int type)

    - #### getEncodedFrameOnly

          public int getEncodedFrameOnly()

    - #### setEncodedFrameOnly

          public void setEncodedFrameOnly(int encodedFrameOnly)

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`