Class HMSTrack

  • All Implemented Interfaces:

    
    public abstract class HMSTrack
    
                        

    A track represents either the audio or video that a peer is publishing

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getTrackId() The trackID of this track
      abstract HMSTrackType getType() This specifies the type of track, either one of HMSTrackType
      final String getDescription() A description if any that has been set for this track by the app
      final Boolean isMute() true - if this track is muted, otherwise false
      final String getSource() Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Plugin - from plugin
      final Unit setSource(String source) Specifies the source of this track Regular - from default camera/mic Screen - from screenshare Plugin - from plugin
      String toString()
      Boolean equals(Object other)
      • Methods inherited from class java.lang.Object

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