The "Description" field seen in the web UI is represented by the "content"
element. See next 2 line of code for setting regular text in the
Description:
CalendarEventEntry myEvent = new CalendarEventEntry();
myEvent.setContent(new PlainTextConstruct("Some descriptive text. \n "));
On Thu, Sep 17, 2009 at 1:42 PM, Claire Y <[email protected]> wrote:
>
> Hi,
>
> I went through the step-by-step instructions on getting started with
> the Google Calender Java API. Now that I have my CalendarEntry
> object, how do I get and set other properties of the calendar;
> particularly, the "Description" value of the calendar (and
> CalendarEvents)? I know there are get() and set() methods for
> location/timezone, etc., but not the Description. I tried:
>
> Content myContent = myCalendar.getContent();
>
> ... but then what do you do with the Content object after that? Are
> there any example or tutorials about this?
>
> Thanks!
> Claire
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---