| Googleを追いかけろ! |
| |
| . | ||
| home >> Calendar Services >> Class EventGuest | ||
|
| Members : | ||
| name | Type | 説明 |
| getAdditionalGuests | int | このゲストをイベントに持って来て追加ゲスト数を取得する |
| getEmail | String | ゲストのメールアドレスを取得する |
| getGuestStatus | GuestStatus | ゲストの応答を取得する(CalendarApp.GuestStatus.YESなど) |
| getName | String | ユーザーに連絡先のある場合ユーザー名を表示する |
| 廃止 | 2010/08/10 | |
| getStatus | String | 出席者のステータスを文字列として取得する |
| 戻り値 : | |
| Type | 説明 |
| int | このゲストを加えた追加ゲスト数を取得する |
| 戻り値 : | |
| Type | 説明 |
| String | ゲストを識別するメールアドレス |
| サンプル : | |
// The code below will retrieve all the events for the users default calendar and
// display the status of the first guest at the first event
var cal = CalendarApp.getDefaultCalendar();
var guests = cal.getEvents(new Date("July 21, 2009 EST"), new Date("July 22, 2009 EST"))[0].getGuestsStatus();
Browser.msgBox(guests[0].getEmail() + " replied " + guests[0].getStatus());
| |
| 戻り値 : | |
| Type | 説明 |
| GuestStatus | このイベントに対するゲストの応答 |
| 戻り値 : | |
| Type | 説明 |
| String | ゲスト名の表示 |