public final class SampleSchedConf extends Object
SchedConfFactory is used to create an instance of the
SchedConf class. Next, a series of conference attributes are set
on the instance. A subject is the only required attribute. If no start time
and duration are set, the conference will be scheduled to start "now" with a
duration of 1 hour. Finally, the conference is scheduled on the conference
service using the schedule method of the SchedConf class.
Once a conference has been scheduled, the URL used to join a conference is
available through the getUrl method of the SchedConf class.
import com.avaya.collaboration.conference.scheduled.SchedConf;
import com.avaya.collaboration.conference.scheduled.SchedConfException;
import com.avaya.collaboration.conference.scheduled.SchedConfFactory;
final SchedConf conf = SchedConfFactory.createConf();
// Set our subject and a duration of 4 hours.
conf.setSubject("Meeting for Urgent Customer Request").setDuration(0, 4, 0);
conf.setParticipantPin(-1).setModeratorPin(-1); // Generate pins for me
try
{
conf.schedule();
}
catch (SchedConfException e)
{
System.out.println("Error while scheduling a conference; " + e);
}
System.out.println("URL=" + conf.getUrl());
Copyright © 2023 Avaya. All rights reserved.