CalendarContract.CalendarEntity
public
static
final
class
CalendarContract.CalendarEntity
extends Object
implements
BaseColumns,
CalendarContract.SyncColumns,
CalendarContract.CalendarColumns
Class that represents a Calendar Entity. There is one entry per calendar.
This is a helper class to make batch operations easier.
Summary
Inherited constants |
From
interface
android.provider.BaseColumns
|
From
interface
android.provider.CalendarContract.SyncColumns
String |
ACCOUNT_NAME
The account that was used to sync the entry to the device.
|
String |
ACCOUNT_TYPE
The type of the account that was used to sync the entry to the
device.
|
String |
CAN_PARTIALLY_UPDATE
If set to 1 this causes events on this calendar to be duplicated with
LAST_SYNCED set to 1 whenever the event
transitions from non-dirty to dirty.
|
String |
DELETED
Whether the row has been deleted but not synced to the server.
|
String |
DIRTY
Used to indicate that local, unsynced, changes are present.
|
String |
MUTATORS
Used in conjunction with DIRTY to indicate what packages wrote local changes.
|
String |
_SYNC_ID
The unique ID for a row assigned by the sync source.
|
|
From
interface
android.provider.CalendarContract.CalendarColumns
String |
ALLOWED_ATTENDEE_TYPES
A comma separated list of attendee types supported for this calendar
in the format "#,#,#".
|
String |
ALLOWED_AVAILABILITY
A comma separated list of availability types supported for this
calendar in the format "#,#,#".
|
String |
ALLOWED_REMINDERS
A comma separated list of reminder methods supported for this
calendar in the format "#,#,#".
|
String |
CALENDAR_ACCESS_LEVEL
The level of access that the user has for the calendar
Type: INTEGER (one of the values below)
|
String |
CALENDAR_COLOR
The color of the calendar.
|
String |
CALENDAR_COLOR_KEY
A key for looking up a color from the CalendarContract.Colors table.
|
String |
CALENDAR_DISPLAY_NAME
The display name of the calendar.
|
String |
CALENDAR_TIME_ZONE
The time zone the calendar is associated with.
|
int |
CAL_ACCESS_CONTRIBUTOR
Full access to modify the calendar, but not the access control
settings
|
int |
CAL_ACCESS_EDITOR
Full access to modify the calendar, but not the access control
settings
|
int |
CAL_ACCESS_FREEBUSY
Can only see free/busy information about the calendar
|
int |
CAL_ACCESS_NONE
Cannot access the calendar
|
int |
CAL_ACCESS_OVERRIDE
not used
|
int |
CAL_ACCESS_OWNER
Full access to the calendar
|
int |
CAL_ACCESS_READ
Can read all event details
|
int |
CAL_ACCESS_RESPOND
Can reply yes/no/maybe to an event
|
int |
CAL_ACCESS_ROOT
Domain admin
|
String |
CAN_MODIFY_TIME_ZONE
Can the organizer modify the time zone of the event? Column name.
|
String |
CAN_ORGANIZER_RESPOND
Can the organizer respond to the event? If no, the status of the
organizer should not be shown by the UI.
|
String |
IS_PRIMARY
Is this the primary calendar for this account.
|
String |
MAX_REMINDERS
The maximum number of reminders allowed for an event.
|
String |
OWNER_ACCOUNT
The owner account for this calendar, based on the calendar feed.
|
String |
SYNC_EVENTS
Is this calendar synced and are its events stored on the device?
0 - Do not sync this calendar or store events for this calendar.
|
String |
VISIBLE
Is the calendar selected to be displayed?
0 - do not show events associated with this calendar.
|
|
From
interface
android.provider.CalendarContract.CalendarSyncColumns
|
Fields |
public
static
final
Uri |
CONTENT_URI
The default Uri used when creating a new calendar EntityIterator.
|
Inherited methods |
From
class
java.lang.Object
Object
|
clone()
Creates and returns a copy of this object.
|
boolean
|
equals(Object obj)
Indicates whether some other object is "equal to" this one.
|
void
|
finalize()
Called by the garbage collector on an object when garbage collection
determines that there are no more references to the object.
|
final
Class<?>
|
getClass()
Returns the runtime class of this Object .
|
int
|
hashCode()
Returns a hash code value for the object.
|
final
void
|
notify()
Wakes up a single thread that is waiting on this object's
monitor.
|
final
void
|
notifyAll()
Wakes up all threads that are waiting on this object's monitor.
|
String
|
toString()
Returns a string representation of the object.
|
final
void
|
wait(long millis, int nanos)
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.
|
final
void
|
wait(long millis)
Causes the current thread to wait until either another thread invokes the
notify() method or the
notifyAll() method for this object, or a
specified amount of time has elapsed.
|
final
void
|
wait()
Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object.
|
|
Fields
CONTENT_URI
Uri CONTENT_URI
The default Uri used when creating a new calendar EntityIterator.
Public methods
newEntityIterator
EntityIterator newEntityIterator (Cursor cursor)
Creates an entity iterator for the given cursor. It assumes the
cursor contains a calendars query.