XmtpPluginWindows class

Stub for XmtpPluginWindows on platforms where dart:ffi / Rust bindings are not available (e.g., web). The real implementation lives in xmtp_plugin_windows.dart and is only compiled on native platforms.

Inheritance

Constructors

XmtpPluginWindows()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acceptConversation(String topic) Future<bool>
inherited
addAccount(Uint8List newAccountPrivateKey, {bool allowReassignInboxId = false}) Future<void>
inherited
addGroupAdmin(String topic, String inboxId) Future<bool>
inherited
addGroupMembers(String topic, List<String> inboxIds) Future<bool>
inherited
addGroupSuperAdmin(String topic, String inboxId) Future<bool>
inherited
archiveMetadata(String path, Uint8List key) Future<Map<String, dynamic>>
inherited
canMessage(String address) Future<bool>
inherited
canMessageByInboxId(String inboxId) Future<bool>
inherited
changeRecoveryIdentifier(Uint8List signerPrivateKey, String newRecoveryIdentifier) Future<void>
inherited
conversationTopicFromAddress(String peerAddress) Future<String?>
inherited
createArchive(String path, Uint8List key, {List<String> elements = const [], int? startNs, int? endNs, bool excludeDisappearing = false}) Future<void>
inherited
denyConversation(String topic) Future<bool>
inherited
findOrCreateDMWithInboxId(String inboxId) Future<Map<String, dynamic>>
inherited
generatePrivateKey() Future<Uint8List>
inherited
getAllHmacKeys() Future<List<Map<String, dynamic>>>
Aggregate HMAC keys for every conversation the client knows about (including stitched duplicate DMs). Each entry: {topic: String, hmacKey: Uint8List, thirtyDayPeriodsSinceEpoch: int}. libxmtp returns 3 keys per conversation (prior / current / next epoch). Feed these to the notif server's subscribeWithMetadata so it can filter listener traffic without breaking E2E.
inherited
getClientAddress() Future<String?>
inherited
getClientInboxId() Future<String?>
inherited
getConversationConsentState(String topic) Future<String>
inherited
getGroupMemberRole(String topic, String inboxId) Future<Map<String, dynamic>>
inherited
getInboxConsentState(String inboxId) Future<String>
inherited
getInstallationId() Future<String>
inherited
getMessagesAfterDate(String peerAddress, DateTime fromDate) Future<List<Map<String, dynamic>>>
inherited
getMessagesAfterDateByTopic(String topic, DateTime fromDate) Future<List<Map<String, dynamic>>>
inherited
getPlatformVersion() Future<String?>
inherited
importArchive(String path, Uint8List key) Future<void>
inherited
inboxIdFromAddress(String address) Future<String>
inherited
inboxState({bool refreshFromNetwork = false}) Future<Map<String, dynamic>>
inherited
inboxStatesForInboxIds(List<String> inboxIds, {bool refreshFromNetwork = true}) Future<List<Map<String, dynamic>>>
inherited
initializeClient(Uint8List privateKey, Uint8List dbKey, {String environment = 'production', String? dbDirectory}) Future<String?>
inherited
listConversations() Future<List<Map<String, dynamic>>>
inherited
listDms({String? consentState}) Future<List<Map<String, dynamic>>>
inherited
listGroupAdmins(String topic) Future<List<Map>>
inherited
listGroupMembers(String topic) Future<List<Map>>
inherited
listGroups({String? consentState}) Future<List<Map<String, dynamic>>>
inherited
listGroupSuperAdmins(String topic) Future<List<Map>>
inherited
loadRemoteAttachment(Map<String, dynamic> params) Future<Map<String, dynamic>>
inherited
newGroup(List<String> inboxIds, Map<String, String> options) Future<Map<String, dynamic>>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
processPushMessage(String topic, Uint8List encryptedBytes) Future<List<Map<String, dynamic>>>
Decrypt an FCM/APNs push payload for an existing conversation (looked up by topic). Returns a list of decoded messages — usually 1, occasionally more if the envelope contained multiple. Each entry mirrors getMessagesAfterDate shape.
inherited
processWelcome(Uint8List encryptedBytes) Future<List<Map<String, dynamic>>>
Decrypt an FCM/APNs push payload that arrived on the welcome topic (/xmtp/mls/1/w-${installationId}/proto). Returns the newly-created conversation(s) — usually 1, occasionally more from DM stitching. Each entry mirrors listConversations shape.
inherited
removeAccount(Uint8List recoveryPrivateKey, String identifierToRemove) Future<void>
inherited
removeGroupAdmin(String topic, String inboxId) Future<bool>
inherited
removeGroupMembers(String topic, List<String> inboxIds) Future<bool>
inherited
removeGroupSuperAdmin(String topic, String inboxId) Future<bool>
inherited
revokeAllOtherInstallations(Uint8List signerPrivateKey) Future<void>
inherited
revokeInstallations(Uint8List signerPrivateKey, List<String> installationIds) Future<void>
inherited
sendGroupMessage(String topic, dynamic message, String authorityId, String typeId, int versionMajor) Future<String?>
inherited
sendMessage(String recipientAddress, dynamic message, String authorityId, String typeId, int versionMajor) Future<String?>
inherited
sendMessageByInboxId(String recipientInboxId, dynamic message, String authorityId, String typeId, int versionMajor) Future<Map<String, dynamic>?>
Returns a map with messageId and the live DM topic (the conversation that was actually sent to — send is find-or-create, so this is always the canonical DM topic). topic may be null on platforms that don't surface it.
inherited
sendSyncRequest() Future<bool>
inherited
setConversationConsentState(String topic, String state) Future<bool>
inherited
setInboxConsentState(String inboxId, String state) Future<bool>
inherited
staticDeleteLocalDatabase(String address, String inboxId, {String environment = 'production', String? dbDirectory}) Future<void>
inherited
staticGetInboxIdForAddress(String address, {String environment = 'production'}) Future<String?>
inherited
staticInboxStatesForInboxIds(List<String> inboxIds) Future<List<Map<String, dynamic>>>
inherited
staticRevokeInstallations(Uint8List signerPrivateKey, String inboxId, List<String> installationIds) Future<void>
inherited
subscribeToAllMessages() Stream<Map<String, dynamic>>
inherited
syncAll({List<String> consentStates = const ['allowed']}) Future<Map<String, int>>
inherited
syncConsentPreferences() Future<bool>
inherited
syncConversation(String topic) Future<void>
inherited
toString() String
A string representation of this object.
inherited
updateGroup(String topic, Map<String, String> updates) Future<bool>
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith() → void