io.agora.rtc

## Class AgoraMediaRelayService

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

-     public class AgoraMediaRelayService
      extends java.lang.Object

  Wrapper for media relay service functionality.

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private long` | `cptr` Native pointer to the media relay service instance.

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AgoraMediaRelayService(long cptr)` Constructs a media relay service.

  - ### Method Summary

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

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

- - ### Field Detail

    - #### cptr

          private long cptr

      Native pointer to the media relay service instance.

  - ### Constructor Detail

    - #### AgoraMediaRelayService

          public AgoraMediaRelayService(long cptr)

      Constructs a media relay service.
      Parameters:
        `cptr` - Native pointer to the relay service instance