AccountColumns, AccountSyncColumns, BaseColumns, SyncColumnspublic class Accounts extends CalendarEntity implements BaseColumns, SyncColumns, AccountColumns
| 限定符和类型 | 字段 | 说明 |
|---|---|---|
static String |
NAME |
Calendar name.
|
ACC_COLOR, ACC_COLOR_INDEX, ACC_DISPLAY_NAME, ACC_TIME_ZONE, ATTENDEE_TYPES, AVAILABILITY_STATUS, IS_PRIMARY, IS_SYNC_EVENTS, REMINDERS_TYPE, VISIBLEACC_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_NAME, ACC_TYPE, CALLING_BUNDLE_NAME, DELETED, DIRTY, SYNC_ID| 构造器 | 说明 |
|---|---|
Accounts() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getAccColour() |
Obtains the account color.
|
String |
getAccDisplayName() |
Obtains the display name of the account.
|
String |
getAccName() |
Obtains the account name.
|
String |
getAccTimezone() |
Obtains the time zone of the account.
|
String |
getAccType() |
Obtains the account type.
|
String |
getAttendeeTypes() |
Obtains the type of the participant.
|
String |
getName() |
Obtains the calendar name.
|
String |
getRemindersType() |
Obtains the reminder type.
|
boolean |
isSyncEvents() |
Checks whether events are synchronized.
|
boolean |
isVisible() |
Obtains the visibility of associated events.
|
void |
setAccColour(int accColour) |
Sets the account color.
|
void |
setAccDisplayName(String accDisplayName) |
Sets the display name of the account.
|
void |
setAccName(String accName) |
Sets the account name.
|
void |
setAccTimezone(String accTimezone) |
Sets the time zone of the account.
|
void |
setAccType(String accType) |
Sets the account type.
|
void |
setAttendeeTypes(String attendeeTypes) |
Sets the type of the participant.
|
void |
setName(String name) |
Sets the calendar name.
|
void |
setRemindersType(String remindersType) |
Sets the reminder type.
|
void |
setSyncEvents(boolean syncEvents) |
Sets whether to synchronize events.
|
void |
setVisible(boolean visible) |
Sets associated events to be visible or invisible.
|
getId, setIdpublic String getName()
public void setName(String name)
name - Indicates the calendar name to set.public String getAccName()
public void setAccName(String accName)
accName - Indicates the account name to set.public String getAccType()
public void setAccType(String accType)
accType - Indicates the account type to set.public int getAccColour()
public void setAccColour(int accColour)
accColour - Indicates the account color to set.public String getAccDisplayName()
public void setAccDisplayName(String accDisplayName)
accDisplayName - Indicates the display name to set.public boolean isVisible()
true if associated events are visible; returns false otherwise.public void setVisible(boolean visible)
visible - Specifies whether to set associated events to be visible. The value true means to set
the associated events to be visible, and false means the opposite.public String getAccTimezone()
public void setAccTimezone(String accTimezone)
accTimezone - Indicates the time zone to set.public boolean isSyncEvents()
true if events are synchronized; returns false otherwise.public void setSyncEvents(boolean syncEvents)
syncEvents - Specifies whether to synchronize events. The value true means to synchronize events,
and false means the opposite.public String getRemindersType()
public void setRemindersType(String remindersType)
remindersType - Indicates the reminder type to set.public String getAttendeeTypes()
public void setAttendeeTypes(String attendeeTypes)
attendeeTypes - Indicates the participant type to set.