public static final class

HtcContactsContract.HtcEvent

extends Object
java.lang.Object
   ↳ android.provider.HtcContactsContract.HtcEvent

Class Overview

Common data definition for HTC event

Summary

Constants
String CONTENT_ITEM_TYPE MIME type used when storing this in data table.
String CONTENT_TYPE The MIME type of CONTENT_URI providing a directory of htc event.
String DATA_REF_ID The reference event in the data table

Type: INTEGER

String DAY_OF_MONTH Event in day of month

Type: INTEGER

String DESCRIPTION The description for the event

Type: TEXT

String END_TIME The ending time of the event

Type: INTEGER

String EVENT_DB_ID The event ID map to the calendar database

Type: INTEGER

String IS_ALL_DAY Is the event an all day event

Type: INTEGER

String MONTH Event in month

Type: INTEGER

int NOTIFICATION_1_DAY
int NOTIFICATION_30_DAYS
int NOTIFICATION_7_DAYS
int NOTIFICATION_NONE
String NOTIFICATION_TYPE The notification type for the event

Type: INTEGER

int NOT_ALL_DAY
int RECURRENCE_DAILY
int RECURRENCE_MONTHLY
int RECURRENCE_ONCE
int RECURRENCE_QUARTERLY
String RECURRENCE_TYPE The recurrence type for the event

Type: INTEGER

int RECURRENCE_WEEKLY
int RECURRENCE_YEARLY
String START_TIME The starting time of the event

Type: INTEGER

String TIMEZONE The timezone for the event

Type: TEXT

String TITLE The display title for the event

Type: TEXT

String TYPE The type of the event.
int TYPE_ANNIVERSARY
int TYPE_BIRTHDAY
int TYPE_OTHER
String YEAR Event in year

Type: INTEGER

int YES_ALL_DAY
Fields
public static final Uri CONTENT_URI The content:// style URI for all data records of the CONTENT_ITEM_TYPE MIME type, combined with the associated raw contact and aggregate contact data.
Public Methods
static int getTypeResource(Integer type)
Return the string resource that best describes the given TYPE.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String CONTENT_ITEM_TYPE

MIME type used when storing this in data table.

Constant Value: "vnd.android.cursor.item/htc_event_v2"

public static final String CONTENT_TYPE

The MIME type of CONTENT_URI providing a directory of htc event.

Constant Value: "vnd.android.cursor.dir/htc_event_v2"

public static final String DATA_REF_ID

The reference event in the data table

Type: INTEGER

Constant Value: "data3"

public static final String DAY_OF_MONTH

Event in day of month

Type: INTEGER

Constant Value: "data14"

public static final String DESCRIPTION

The description for the event

Type: TEXT

Constant Value: "data7"

public static final String END_TIME

The ending time of the event

Type: INTEGER

Constant Value: "data5"

public static final String EVENT_DB_ID

The event ID map to the calendar database

Type: INTEGER

Constant Value: "data1"

public static final String IS_ALL_DAY

Is the event an all day event

Type: INTEGER

Constant Value: "data11"

public static final String MONTH

Event in month

Type: INTEGER

Constant Value: "data13"

public static final int NOTIFICATION_1_DAY

Constant Value: 2 (0x00000002)

public static final int NOTIFICATION_30_DAYS

Constant Value: 8 (0x00000008)

public static final int NOTIFICATION_7_DAYS

Constant Value: 4 (0x00000004)

public static final int NOTIFICATION_NONE

Constant Value: 1 (0x00000001)

public static final String NOTIFICATION_TYPE

The notification type for the event

Type: INTEGER

Constant Value: "data9"

public static final int NOT_ALL_DAY

Constant Value: 0 (0x00000000)

public static final int RECURRENCE_DAILY

Constant Value: 2 (0x00000002)

public static final int RECURRENCE_MONTHLY

Constant Value: 4 (0x00000004)

public static final int RECURRENCE_ONCE

Constant Value: 1 (0x00000001)

public static final int RECURRENCE_QUARTERLY

Constant Value: 5 (0x00000005)

public static final String RECURRENCE_TYPE

The recurrence type for the event

Type: INTEGER

Constant Value: "data8"

public static final int RECURRENCE_WEEKLY

Constant Value: 3 (0x00000003)

public static final int RECURRENCE_YEARLY

Constant Value: 6 (0x00000006)

public static final String START_TIME

The starting time of the event

Type: INTEGER

Constant Value: "data4"

public static final String TIMEZONE

The timezone for the event

Type: TEXT

Constant Value: "data10"

public static final String TITLE

The display title for the event

Type: TEXT

Constant Value: "data6"

public static final String TYPE

The type of the event. e.g. birthday, anniversary, other

Type: INTEGER

Constant Value: "data2"

public static final int TYPE_ANNIVERSARY

Constant Value: 2 (0x00000002)

public static final int TYPE_BIRTHDAY

Constant Value: 1 (0x00000001)

public static final int TYPE_OTHER

Constant Value: 3 (0x00000003)

public static final String YEAR

Event in year

Type: INTEGER

Constant Value: "data12"

public static final int YES_ALL_DAY

Constant Value: 1 (0x00000001)

Fields

public static final Uri CONTENT_URI

The content:// style URI for all data records of the CONTENT_ITEM_TYPE MIME type, combined with the associated raw contact and aggregate contact data.

Public Methods

public static int getTypeResource (Integer type)

Return the string resource that best describes the given TYPE. Will always return a valid resource.