diff --git a/library/org.xmtp.android.library/-client/index.html b/library/org.xmtp.android.library/-client/index.html index 6c868e277..6cc1b92e0 100644 --- a/library/org.xmtp.android.library/-client/index.html +++ b/library/org.xmtp.android.library/-client/index.html @@ -328,6 +328,21 @@

Functions

+ +
+
+
+
syncConsent
+ +
Link copied to clipboard
+
+
+
+
suspend fun syncConsent()
+
+
+
+
diff --git a/library/org.xmtp.android.library/-conversations/sync-conversations.html b/library/org.xmtp.android.library/-client/sync-consent.html similarity index 87% rename from library/org.xmtp.android.library/-conversations/sync-conversations.html rename to library/org.xmtp.android.library/-client/sync-consent.html index e69691a4f..885d33bd4 100644 --- a/library/org.xmtp.android.library/-conversations/sync-conversations.html +++ b/library/org.xmtp.android.library/-client/sync-consent.html @@ -2,7 +2,7 @@ - syncConversations + syncConsent + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

ALL

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+ + diff --git a/library/org.xmtp.android.library/-conversations/-conversation-type/-d-m-s/index.html b/library/org.xmtp.android.library/-conversations/-conversation-type/-d-m-s/index.html new file mode 100644 index 000000000..4b920b8f5 --- /dev/null +++ b/library/org.xmtp.android.library/-conversations/-conversation-type/-d-m-s/index.html @@ -0,0 +1,111 @@ + + + + + DMS + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

DMS

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+ + diff --git a/library/org.xmtp.android.library/-conversations/-conversation-type/-g-r-o-u-p-s/index.html b/library/org.xmtp.android.library/-conversations/-conversation-type/-g-r-o-u-p-s/index.html new file mode 100644 index 000000000..d71ed1cf2 --- /dev/null +++ b/library/org.xmtp.android.library/-conversations/-conversation-type/-g-r-o-u-p-s/index.html @@ -0,0 +1,111 @@ + + + + + GROUPS + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

GROUPS

+ +
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+ + diff --git a/library/org.xmtp.android.library/-conversations/-conversation-type/index.html b/library/org.xmtp.android.library/-conversations/-conversation-type/index.html new file mode 100644 index 000000000..7045cce76 --- /dev/null +++ b/library/org.xmtp.android.library/-conversations/-conversation-type/index.html @@ -0,0 +1,194 @@ + + + + + ConversationType + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

ConversationType

+ +
+
+
+
+
+

Entries

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+

Functions

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

+
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+

Returns an array containing the constants of this enum type, in the order they're declared.

+
+
+
+
+
+
+
+

Properties

+
+
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+ +
+
+
+ + +
Link copied to clipboard
+
+
+
+ +
+
+
+
+
+
+
+
+
+ +
+
+ + diff --git a/library/org.xmtp.android.library/-conversations/-conversation-type/value-of.html b/library/org.xmtp.android.library/-conversations/-conversation-type/value-of.html new file mode 100644 index 000000000..b61e7fa8c --- /dev/null +++ b/library/org.xmtp.android.library/-conversations/-conversation-type/value-of.html @@ -0,0 +1,72 @@ + + + + + valueOf + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

valueOf

+
+

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws

if this enum type has no constant with the specified name

+
+ +
+
+ + diff --git a/library/org.xmtp.android.library/-conversations/-conversation-type/values.html b/library/org.xmtp.android.library/-conversations/-conversation-type/values.html new file mode 100644 index 000000000..b4408257e --- /dev/null +++ b/library/org.xmtp.android.library/-conversations/-conversation-type/values.html @@ -0,0 +1,72 @@ + + + + + values + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+ +
+

values

+
+

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.

+
+ +
+
+ + diff --git a/library/org.xmtp.android.library/-conversations/index.html b/library/org.xmtp.android.library/-conversations/index.html index e5a3b0125..78017f267 100644 --- a/library/org.xmtp.android.library/-conversations/index.html +++ b/library/org.xmtp.android.library/-conversations/index.html @@ -99,6 +99,21 @@

Types

+ +
+
+
+
ConversationType
+ +
Link copied to clipboard
+
+
+ +
+
+
@@ -148,32 +163,32 @@

Functions

- +
listDms
- +
Link copied to clipboard
-
suspend fun listDms(after: Date? = null, before: Date? = null, limit: Int? = null): List<Dm>
+
suspend fun listDms(after: Date? = null, before: Date? = null, limit: Int? = null, order: Conversations.ConversationOrder = ConversationOrder.CREATED_AT, consentState: ConsentState? = null): List<Dm>
- +
listGroups
- +
Link copied to clipboard
-
suspend fun listGroups(after: Date? = null, before: Date? = null, limit: Int? = null): List<Group>
+
suspend fun listGroups(after: Date? = null, before: Date? = null, limit: Int? = null, order: Conversations.ConversationOrder = ConversationOrder.CREATED_AT, consentState: ConsentState? = null): List<Group>
@@ -223,62 +238,62 @@

Functions

- +
stream
- +
Link copied to clipboard
-
fun stream(): Flow<Conversation>
+
fun stream(type: Conversations.ConversationType = ConversationType.ALL): Flow<Conversation>
- +
streamAllMessages
- +
Link copied to clipboard
- +
fun streamAllMessages(type: Conversations.ConversationType = ConversationType.ALL): Flow<DecodedMessage>
- +
-
syncAllConversations
- + +
Link copied to clipboard
-
suspend fun syncAllConversations(): UInt
+
suspend fun sync()
- +
-
syncConversations
- + +
Link copied to clipboard
-
suspend fun syncConversations()
+
suspend fun syncAllConversations(): UInt
diff --git a/library/org.xmtp.android.library/-conversations/list-dms.html b/library/org.xmtp.android.library/-conversations/list-dms.html index da3d41938..4125810da 100644 --- a/library/org.xmtp.android.library/-conversations/list-dms.html +++ b/library/org.xmtp.android.library/-conversations/list-dms.html @@ -54,12 +54,12 @@
-
+

listDms

-
suspend fun listDms(after: Date? = null, before: Date? = null, limit: Int? = null): List<Dm>
+
suspend fun listDms(after: Date? = null, before: Date? = null, limit: Int? = null, order: Conversations.ConversationOrder = ConversationOrder.CREATED_AT, consentState: ConsentState? = null): List<Dm>
-
+

listGroups

-
suspend fun listGroups(after: Date? = null, before: Date? = null, limit: Int? = null): List<Group>
+
suspend fun listGroups(after: Date? = null, before: Date? = null, limit: Int? = null, order: Conversations.ConversationOrder = ConversationOrder.CREATED_AT, consentState: ConsentState? = null): List<Group>
-
+

streamAllMessages

- +
fun streamAllMessages(type: Conversations.ConversationType = ConversationType.ALL): Flow<DecodedMessage>
-
+

stream

-
fun stream(): Flow<Conversation>
+
fun stream(type: Conversations.ConversationType = ConversationType.ALL): Flow<Conversation>