Query Conversations
Requires READ_SMS
permission.
Add the following permission in your AndroidManifest.xml
getConversations()
Returns Future<List<SmsConversation>>
Parameters
Type
Description
Optional
Default Value
Filter
Filters the result by given constraints. Works like SQL WHERE
clause.
✔️
null
sortOrder
Sorts the result prioritized by order of declaration.
✔️
null
All parameters are optional.
SmsConversation
Property
Type
snippet
String
threadId
int
messageCount
int
ConversationColumn
Values
SNIPPET
THREAD_ID
MSG_COUNT
ConversationFilter
Works exactly like SmsFilter
but works with ConversationColumn
instead of SmsColumn
Last updated