Class DisposableNativeObject

java.lang.Object
dev.onvoid.webrtc.internal.NativeObject
dev.onvoid.webrtc.internal.DisposableNativeObject
Direct Known Subclasses:
AudioDeviceModule, DesktopCapturer, MediaStream, MediaStreamTrack, PeerConnectionFactory, RTCDataChannel

public abstract class DisposableNativeObject
extends NativeObject
Allows to dispose the native object bound to the Java object and free native resources.
Author:
Alex Andres
  • Constructor Summary

    Constructors 
    Constructor Description
    DisposableNativeObject()  
  • Method Summary

    Modifier and Type Method Description
    abstract void dispose()
    Invoke native object destructors and free native resources.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • dispose

      public abstract void dispose()
      Invoke native object destructors and free native resources.