Class NSActivitySummary
Activity information summary - number of free and busy activities. Carrier object for ActivitySummary.
Constructors
NSActivitySummary()
Initializes a new instance of the NSActivitySummary class.
Declaration
NSActivitySummary Methods
GetNumBusyActivities()
Returns the number of activities and tasks in the diary that are of type 'busy'.
Declaration
Integer GetNumBusyActivities() Examples
NSActivitySummary thing;
Integer numBusyActivities = thing.GetNumBusyActivities();
Returns
| Type | Description |
| Integer | The number of activities and tasks in the diary of type busy. |
GetNumFreeActivities()
Returns the number of activities of the type 'free'.
Declaration
Integer GetNumFreeActivities() Examples
NSActivitySummary thing;
Integer numFreeActivities = thing.GetNumFreeActivities();
Returns
| Type | Description |
| Integer | The number of activities of type free. |
GetPercentageBusy()
Checks how much of the active work-day that is booked in appointments.
Declaration
Integer GetPercentageBusy() Examples
NSActivitySummary thing;
Integer percentageBusy = thing.GetPercentageBusy();
Returns
| Type | Description |
| Integer | How much of the active work-day that is booked in appointments. |
SetNumBusyActivities(Integer)
Sets the number of activities and tasks in the diary that are of type 'busy'.
Declaration
Void SetNumBusyActivities(Integer numBusyActivities) Examples
NSActivitySummary thing;
Integer numBusyActivities;
thing.SetNumBusyActivities(numBusyActivities);
Parameters
| Type | Name | Description |
| Integer | numBusyActivities | The number of activities and tasks in the diary that are of type busy. |
Returns
| Type | Description |
| Void |
SetNumFreeActivities(Integer)
Sets the number of activities of the type 'free'.
Declaration
Void SetNumFreeActivities(Integer numFreeActivities) Examples
NSActivitySummary thing;
Integer numFreeActivities;
thing.SetNumFreeActivities(numFreeActivities);
Parameters
| Type | Name | Description |
| Integer | numFreeActivities | The number of activities of the type free. |
Returns
| Type | Description |
| Void |
SetPercentageBusy(Integer)
Sets how much of the active work-day that is booked in appointments.
Declaration
Void SetPercentageBusy(Integer percentageBusy) Examples
NSActivitySummary thing;
Integer percentageBusy;
thing.SetPercentageBusy(percentageBusy);
Parameters
| Type | Name | Description |
| Integer | percentageBusy | How much of the active work-day that is booked in appointments. |
Returns
| Type | Description |
| Void |