Class :: DyteMeeting

This is a static class that you can use to control the meeting behaviour from anywhere in the code

Definition

class DyteMeeting {
      public static ArrayList<DyteParticipant> participants;
    public static DyteSelfParticipant self;
    public static void setup(MeetingConfig c);
    public static void updateUIConfig(String json);
    public static void addEventListener(MeetingEventListener m);
    public static void removeEventListener(MeetingEventListener m);
    public interface MeetingEventListener;
    public static View init(Activity activity, Integer width, Integer height);
}

Every Dyte SDK initialisation begins with a .setup(config) method call
For more details, see https://docs.dyte.in/docs/android-meeting-config

Further if you are using a activity based approach you will launch the DyteMeetingActivity or if you are using the View based approach you will use View view = DyteMeeting.init(activity, width, height); to get the view back

    public static void addEventListener(MeetingEventListener m);
    public static void removeEventListener(MeetingEventListener m);
    public interface MeetingEventListener;

These methods and interfaces are used to listen for events, for more information check https://docs.dyte.in/docs/android-events

    public static ArrayList<DyteParticipant> participants;

DyteMeeting.participants will give you an ArrayList of the participants in the meeting
For more info on the class DyteParticipant visit https://docs.dyte.in/docs/android-dyte-participant

    public static DyteSelfParticipant self;

DyteMeeting.self will give you an object that represents the local user, it exposes properties and methods that allow you to control user behaviour
For more info on the class DyteSelfParticipant visit https://docs.dyte.in/docs/android-dyte-self-participant