MailboxManager class
Mailbox Manager - Client API for remote mailbox management
Constructors
- MailboxManager({required Host host, required SFClientConfig config})
Properties
- config → SFClientConfig
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → Host
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createMailbox(
{required String folderPath, required MailboxType type, int? maxMessages, int? retentionDays, int? retentionCount}) → Future< void> - Create a new mailbox
-
deleteMailbox(
{required String folderPath, required MailboxType type}) → Future< void> - Delete a mailbox
-
getMailboxInfo(
{required String folderPath, required MailboxType type}) → Future< MailboxInfo> - Get detailed info about a specific mailbox
-
grantAccess(
{required String folderPath, required MailboxType type, required PeerId targetPeerId, required AccessMode accessMode}) → Future< void> - Grant access to another peer
-
listACL(
{required String folderPath, required MailboxType type}) → Future< List< ACLEntry> > - List all ACL entries for a mailbox
-
listMailboxes(
) → Future< List< MailboxInfo> > - List all mailboxes owned by this client
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
revokeAccess(
{required String folderPath, required MailboxType type, required PeerId targetPeerId}) → Future< void> - Revoke access from a peer
-
toString(
) → String -
A string representation of this object.
inherited
-
updateConfig(
{required String folderPath, required MailboxType type, int? maxMessages, int? retentionDays, int? retentionCount}) → Future< void> - Update mailbox configuration
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited