简体   繁体   中英

How do I get the appointment status in EWS Java API?

I am using the EWS Java API 1.2 and now I need to expand my program to know if an appointment has a certain status (available, busy, out of office). How can I know this? Looking through to documentation of the appointment class did not bring anything at first sight.

The method to get this info is called getLegacyFreeBusyStatus() . This returns an enum called LegacyFreeBusyStatus with the values Free , Tentative , Busy , OOF or NoData . (OOF being Out Of Office)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM