Class AudioCodec

java.lang.Object
com.twilio.voice.AudioCodec
Direct Known Subclasses:
OpusCodec, PcmuCodec

public abstract class AudioCodec extends Object
Abstract base class for audio codecs.
  • Constructor Details

    • AudioCodec

      protected AudioCodec(@NonNull String name)
  • Method Details

    • getName

      @NonNull public String getName()
      Returns the string representation of the audio codec.
    • toString

      @NonNull public String toString()
      Returns the name of the audio codec.
      Overrides:
      toString in class Object