I'm using this Microsoft Graph Tutorial for viewing Microsoft Calendar events using Android Studio. I finished the tutorial already and am wondering how to create events.
I'm currently trying to use the Event object to create events. I'm trying to use the following code from this GitHub repo:
Event event = new Event();
event.setSubject("Today's appointment");
event.setStart(dtz);
event.setImportance(Importance.High);
event.setIsReminderOn(true);
event.setReminderMinutesBeforeStart(15);
to create the event for this code:
Event addedEvent = client.getMe().getCalendars().getById("Calendar").getEvents().add(event).get();
But it seems like the set functions aren't available anymore and I can't find any other tutorials/resources for this. Any help would be greatly appreciated.
Thank you.