-
Notifications
You must be signed in to change notification settings - Fork 4
Calendar Intent
Roman Tcaregorodtcev edited this page Mar 30, 2018
·
1 revision
The Calendar Intent Builder is a repository for a user's calendar events. The Calendar Intent Builder allows you to perform query, insert, and update operations on calendars, events.
Date startDate = new Date();
long endDate = startDate.getTime() + TimeUnit.DAYS.toMillis(7);
OmegaIntentBuilder.from(this)
.calendar(CalendarActionTypes.INSERT_EVENT)
.startDate(startDate)
.endDate(endDate)
.title("Omega-R")
.description("Great library")
.location("New York")
.allDay(false)
.organizer("[email protected]")
.hasAlarm(false)
.startActivity();