AccountSyncColumns, BaseColumns, EventsColumns, SyncColumnspublic class Events extends CalendarEntity implements BaseColumns, SyncColumns, EventsColumns
ACC_SYNC1, ACC_SYNC10, ACC_SYNC2, ACC_SYNC3, ACC_SYNC4, ACC_SYNC5, ACC_SYNC6, ACC_SYNC7, ACC_SYNC8, ACC_SYNC9COUNT, IDACC_TYPE_LOCAL, IS_SYNC_ADAPTERACC_ID, AVAILABLE_STATUS, DESCRIPTION, DURATION, END_TIMEZONE, EVENT_END_TIME, EVENT_POSITION, EVENT_START_TIME, EVENT_STATUS, EVENT_STATUS_CANCELED, EVENT_STATUS_CONFIRMED, EVENT_STATUS_TENTATIVE, EXTEND_DATA1, EXTEND_DATA10, EXTEND_DATA2, EXTEND_DATA3, EXTEND_DATA4, EXTEND_DATA5, EXTEND_DATA6, EXTEND_DATA7, EXTEND_DATA8, EXTEND_DATA9, HAS_ALARM, HAS_ATTENDEE_INFO, HAS_EXTENDED_ATTRIBUTES, INITIAL_ID, INITIAL_SYNC_ID, IS_WHOLE_DAY, ORGANIZER_EMAIL, OWNER_ATTENDEE_STATUS, PERMISSION_CONFIDENTIAL, PERMISSION_DEFAULT, PERMISSION_LEVEL, PERMISSION_PRIVATE, PERMISSION_PUBLIC, RECUR_DATE, RECUR_RULE, START_TIMEZONE, STATUS_BUSY, STATUS_FREE, STATUS_TENTATIVE, TITLEACC_NAME, ACC_TYPE, CALLING_BUNDLE_NAME, DELETED, DIRTY, SYNC_ID| 构造器 | 说明 |
|---|---|
Events() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getAccId() |
Obtains the account ID.
|
int |
getAvailableStatus() |
Obtains the event status.
|
String |
getDescription() |
Obtains the event description.
|
String |
getDuration() |
Obtains the event duration.
|
String |
getEndTimezone() |
Obtains the end time zone of the event.
|
int |
getEventColour() |
Obtains the event color.
|
String |
getEventColourIndex() |
Obtains the index of the event color.
|
long |
getEventEndTime() |
Obtains the end time of the event.
|
String |
getEventPosition() |
Obtains the event position.
|
long |
getEventStartTime() |
Obtains the start time of the event.
|
int |
getEventStatus() |
Obtains the event status.
|
String |
getInitialId() |
Obtains the initial ID.
|
String |
getRecurDate() |
Obtains the interval at which the event repeats.
|
String |
getRecurRule() |
Obtains the recurrence rule.
|
String |
getStartTimezone() |
Obtains the start time zone of the event.
|
String |
getSyncId() |
Obtains the synchronization ID.
|
String |
getTitle() |
Obtains the event title.
|
boolean |
hasAlarm() |
Checks whether the alarm clock reminder is enabled.
|
boolean |
hasAttendeeInfo() |
Checks whether participant information is included.
|
boolean |
isWholeDay() |
Checks whether this event is a whole-day event.
|
void |
setAccId(int accId) |
Sets the account ID.
|
void |
setAlarm(boolean hasAlarm) |
Enables or disables the alarm clock reminder.
|
void |
setAttendeeInfo(boolean hasAttendeeInfo) |
Sets whether to include participant information.
|
void |
setAvailableStatus(int availableStatus) |
Sets the event status.
|
void |
setDescription(String description) |
Sets the event description.
|
void |
setDuration(String duration) |
Sets the event duration.
|
void |
setEndTimezone(String endTimezone) |
Sets the end time zone of the event.
|
void |
setEventColour(int eventColour) |
Sets the event color.
|
void |
setEventColourIndex(String eventColourIndex) |
Sets the index of the event color.
|
void |
setEventEndTime(long eventEndTime) |
Sets the end time of the event.
|
void |
setEventPosition(String eventPosition) |
Sets the event position.
|
void |
setEventStartTime(long eventStartTime) |
Sets the start time of the event.
|
void |
setEventStatus(int eventStatus) |
Sets the event status.
|
void |
setInitialId(String initialId) |
Sets the initial ID.
|
void |
setRecurDate(String recurDate) |
Sets the interval at which the event repeats.
|
void |
setRecurRule(String recurRule) |
Sets the recurrence rule.
|
void |
setStartTimezone(String startTimezone) |
Sets the start time zone of the event.
|
void |
setSyncId(String syncId) |
Sets the synchronization ID.
|
void |
setTitle(String title) |
Sets the event title.
|
void |
setWholeDay(boolean wholeDay) |
Sets this event as a whole-day event.
|
getId, setIdpublic String getSyncId()
public void setSyncId(String syncId)
syncId - Indicates the synchronization ID to set.public int getAccId()
public void setAccId(int accId)
accId - Indicates the account ID to set.public String getTitle()
public void setTitle(String title)
title - Indicates the title to set.public String getDescription()
public void setDescription(String description)
description - Indicates the description to set.public String getEventPosition()
public void setEventPosition(String eventPosition)
eventPosition - Indicates the position to set.public int getEventColour()
public void setEventColour(int eventColour)
eventColour - Indicates the color to set.public String getEventColourIndex()
public void setEventColourIndex(String eventColourIndex)
eventColourIndex - Indicates the index of the event color to set.public int getEventStatus()
public void setEventStatus(int eventStatus)
eventStatus - Indicates the status to set.public long getEventStartTime()
public void setEventStartTime(long eventStartTime)
eventStartTime - Indicates the start time to set.public long getEventEndTime()
public void setEventEndTime(long eventEndTime)
eventEndTime - Indicates the end time to set.public String getDuration()
public void setDuration(String duration)
duration - Indicates the duration to set.public String getStartTimezone()
public void setStartTimezone(String startTimezone)
startTimezone - Indicates the start time zone to set.public String getEndTimezone()
public void setEndTimezone(String endTimezone)
endTimezone - Indicates the end time zone to set.public boolean isWholeDay()
true if the event is a whole-day event; returns false otherwise.public void setWholeDay(boolean wholeDay)
wholeDay - Specifies whether to set the event as a whole-day event. The value true means to set
the event as a whole-day event, and false means the opposite.public int getAvailableStatus()
public void setAvailableStatus(int availableStatus)
availableStatus - Indicates the status to set.public boolean hasAlarm()
true if the alarm clock reminder is enabled; returns false otherwise.public void setAlarm(boolean hasAlarm)
hasAlarm - Specifies whether to enable the alarm clock reminder. The value true means to enable
the alarm clock reminder, and false means the opposite.public String getRecurRule()
public void setRecurRule(String recurRule)
recurRule - Indicates the recurrence rule to set.public String getRecurDate()
public void setRecurDate(String recurDate)
recurDate - Indicates the interval to set.public String getInitialId()
public void setInitialId(String initialId)
initialId - Indicates the initial ID to set.public boolean hasAttendeeInfo()
true if the participant information is included; returns false otherwise.public void setAttendeeInfo(boolean hasAttendeeInfo)
hasAttendeeInfo - Specifies whether to include participant information. The value true means to
include the participant information, and false means the opposite.