Appointment

From Pointui

AVAILABLE SINCE: 2.1

Provides access to an individual appointment on the device. It can be used to read and write properties of the appointment.

Contents

Methods

void Display()

Displays the default OS application appointment screen for this appointment.

void Set(int objectID)

Sets the specific appointment this object is to contain. This can be called more than once to change to different appointments. After a successful call to Set(), the GetValue(), SetValue() methods can be used to get and set properties for the appointment whose unique id matches the supplied objectID.

void GetValue(String propertyName, String result)

void GetValue(String propertyName, int result)

void GetValue(String propertyName, DateTime result)

The GetValue method supports a few different result data types. The variable supplied in the result parameter and the propertyName must match one of the properties listed below:

propertyName Expected Data Type
Start DateTime
End DateTime
Subject String
Location String
Categories String
Notes String
BusyStatus int
Duration int
IsRecurring bool
MeetingStatus int
ReminderSet bool
AllDayEvent bool
ObjectID int


void SetValue(String propertyName, String value)

Sets a property for the appointment to the specified value. The propertyName must match one of those listed in the table under Appointment.GetValue() which has a String data type.

void Save()

Saves any changes to the appointment that have been performed using SetValue().