Class Calendar

    • Constructor Detail

      • Calendar

        protected Calendar()
        Constructor protected so instances must be retrieved from Google Calendar.
    • Method Detail

      • getSummary

        public String getSummary()
        The title of this calendar.
        Returns:
        the value or null if none.
      • getDescription

        public String getDescription()
        The description of this calendar.
        Returns:
        the value or null if none.
      • getLocation

        public String getLocation()
        The geographic location of this calendar as free-form text.
        Returns:
        the value or null if none.
      • getTimeZone

        public TimeZone getTimeZone()
        The time zone of this calendar.
        Returns:
        the value or null if none.
      • getSummaryOverride

        public String getSummaryOverride()
        The overriding summary that the authenticated user has set for this calendar.
        Returns:
        the value or null if none.
      • getColorId

        public String getColorId()
        The colour of this calendar.
        Returns:
        the value or null if none.
      • getBackgroundColor

        public String getBackgroundColor()
        The background colour of this calendar in hexadecimal format "#rrggbb".
        Returns:
        the value or null if none.
      • getForegroundColor

        public String getForegroundColor()
        The foreground colour of this calendar in hexadecimal format "#rrggbb".
        Returns:
        the value or null if none.
      • isHidden

        public boolean isHidden()
        Whether this calendar has been hidden from the list.
        Returns:
        the value.
      • isSelected

        public boolean isSelected()
        Whether this calendar's content is displayed in the calendar UI.
        Returns:
        the value.
      • getAccessRole

        public PermissionRole getAccessRole()
        The effective access role that the authenticated user has on this calendar.
        Returns:
        the value or null if none.
      • getDefaultReminders

        public List<Calendar.EventReminder> getDefaultReminders()
        The default reminders that the authenticated user has for this calendar.
        Returns:
        the value or null if none.
      • getNotificationSettings

        public Calendar.NotificationSettings getNotificationSettings()
        The notifications that the authenticated user is receiving for this calendar.
        Returns:
        the value or null if none.
      • isPrimary

        public boolean isPrimary()
        Whether this calendar is the primary calendar of the authenticated user.
        Returns:
        the value.
      • isDeleted

        public boolean isDeleted()
        Whether this calendar has been deleted from the calendar list.
        Returns:
        the value.