io.agora.rtc

## Class AgoraMediaPacketSender

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

-     public class AgoraMediaPacketSender
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private long` | `cptr`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AgoraMediaPacketSender(long cptr)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()`
    `private void` | `ndestroy()`
    `int` | `send(byte[] packet, int length, PacketOptions options)`

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

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

- - ### Field Detail

    - #### cptr

          private long cptr

  - ### Constructor Detail

    - #### AgoraMediaPacketSender

          public AgoraMediaPacketSender(long cptr)

  - ### Method Detail

    - #### send

          public int send(byte[] packet,
                          int length,
                          PacketOptions options)

    - #### ndestroy

          private void ndestroy()

    - #### destroy

          public void destroy()