SortField

Since: BlackBerry 10.0.0

#include <bb/pim/calendar/SortField>

To link against this class, add the following line to your .pro file: LIBS += -lbbpim

The SortField class includes possible fields that can be used to sort calendar events.

When you retrieve events using functions in the CalendarService class (such as CalendarService::events()), you provide an EventSearchParameters object that includes information about the results that you want. You can set a SortField in the EventSearchParameters that describes what fields you want to use to sort the search results.


Overview

Public Types Index

enum Type

Undefined 0, Guid 1, Subject 2, Location 3, StartTime 4, EndTime 5

Public Types

Type

An enumeration of possible sort fields for calendar events.

Since:

BlackBerry 10.0.0

Undefined 0

Indicates an undefined sort field.

Guid 1

Indicates that events are sorted by guid.

Since:

BlackBerry 10.0.0

Subject 2

Indicates that events are sorted by subject.

Since:

BlackBerry 10.0.0

Location 3

Indicates that events are sorted by location.

Since:

BlackBerry 10.0.0

StartTime 4

Indicates that events are sorted by start time.

Since:

BlackBerry 10.0.0

EndTime 5

Indicates that events are sorted by end time.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus