DeviceCalendarError enum
Error codes for device calendar operations.
Values
- permissionsNotDeclared → const DeviceCalendarError
-
Calendar permissions are not declared in the app's manifest.
On Android: Missing READ_CALENDAR or WRITE_CALENDAR in AndroidManifest.xml On iOS: Missing NSCalendarsUsageDescription in Info.plist
- permissionDenied → const DeviceCalendarError
-
Calendar permission was denied by the user.
- invalidArguments → const DeviceCalendarError
-
Invalid arguments were passed to a method.
- notFound → const DeviceCalendarError
-
Requested calendar or event not found.
- readOnly → const DeviceCalendarError
-
Calendar is read-only and cannot be modified.
- operationFailed → const DeviceCalendarError
-
Calendar operation failed.
-
Calendar system is not available.
- unknown → const DeviceCalendarError
-
An unknown error occurred.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
DeviceCalendarError> - A constant List of the values in this enum, in order of their declaration.