contacts_bridge library
Classes
- Contact
- Represents a complete contact with all its information
- ContactAddress
- Represents a postal address
- ContactEmail
- Represents an email address
- ContactEvent
- Represents a contact event (birthday, anniversary, etc.)
- ContactName
- Represents a name with all its components
- ContactNotFoundFailure
- Contact not found failure
- ContactOrganization
- Represents an organization/job information
- ContactPhone
- Represents a phone number
- ContactsBridge
- Main plugin class that provides a clean API for contact operations
- ExternalServiceFailure
- Network or external service failure
-
Failed<
T> - Represents a failed result
- Failure
- Base class for all failures in the contacts bridge
- InvalidContactDataFailure
- Invalid contact data failure
- PermissionFailure
- Permission-related failures
- PlatformFailure
- Platform-specific operation failure
-
Result<
T> - A generic class for handling results that can be either success or failure
-
Success<
T> - Represents a successful result
- UnexpectedFailure
- Unexpected error failure
Enums
- AddressLabel
- Enum for different address labels
- EmailLabel
- Enum for different email labels
- EventLabel
- Enum for different event labels
- PermissionStatus
- Represents the current permission status for accessing contacts
- PhoneLabel
- Enum for different phone number labels
Extensions
-
ResultExtensions
on Result<
T> - Extension methods for easier result handling
Exceptions / Errors
- ContactNotFoundException
- Exception thrown when a requested contact is not found
- ContactsException
- Custom exceptions for the contacts bridge
- InvalidContactException
- Exception thrown when contact data is invalid or corrupted
- PermissionException
- Exception thrown when permission is denied or insufficient
- PlatformBridgeException
- Exception thrown when platform bridge communication fails