All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.callstats.sdk.CallStatsConferenceEvents Maven / Gradle / Ivy

package io.callstats.sdk;

public enum CallStatsConferenceEvents {
	CONFERENCE_SETUP(0, "conferenceSetup"), 
	CONFERENCE_SETUP_FAILED(1, "conferenceSetupFailed"), 
	CONFERENCE_TERMINATED(2, "conferenceTerminated"),
	USER_JOINED(3, "userJoined"),
	USER_LEFT(4, "userLeft"),
	FABRIC_HOLD(5,"fabricHold"),
	FABRIC_RESUME(6,"fabricResume"),
	AUDIO_MUTE(7, "audioMute"),
	AUDIO_UNMUTE(8, "audioUnmute"),
	VIDEO_PAUSE(9, "videoPause"),
	VIDEO_RESUME(10, "videoResume"),
	CONFERENCE_STATS(11, "conferenceStats");

	private final int msgCode;
	private final String msgType;
	
	  private CallStatsConferenceEvents(int code, String msgType) {
	    this.msgCode = code;
	    this.msgType = msgType;
	  }
	
	  public String getMessageType() {
	     return msgType;
	  }
	
	  public int getMessageCode() {
	     return msgCode;
	  }
	
	  @Override
	  public String toString() {
	    return msgCode + ": " + msgType;
	  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy