MessageViewModel
class MessageViewModel(savedStateHandle: ERROR CLASS: Symbol not found for SavedStateHandle, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, radioConfigRepository: ERROR CLASS: Symbol not found for RadioConfigRepository, quickChatActionRepository: ERROR CLASS: Symbol not found for QuickChatActionRepository, serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, packetRepository: ERROR CLASS: Symbol not found for PacketRepository, uiPrefs: ERROR CLASS: Symbol not found for UiPrefs, customEmojiPrefs: ERROR CLASS: Symbol not found for CustomEmojiPrefs, homoglyphEncodingPrefs: ERROR CLASS: Symbol not found for HomoglyphPrefs, meshServiceNotifications: ERROR CLASS: Symbol not found for MeshServiceNotifications, sendMessageUseCase: ERROR CLASS: Symbol not found for SendMessageUseCase) : <ERROR CLASS> ERROR CLASS: Symbol not found for ViewModel(source)
Constructors
Link copied to clipboard
constructor(savedStateHandle: ERROR CLASS: Symbol not found for SavedStateHandle, nodeRepository: ERROR CLASS: Symbol not found for NodeRepository, radioConfigRepository: ERROR CLASS: Symbol not found for RadioConfigRepository, quickChatActionRepository: ERROR CLASS: Symbol not found for QuickChatActionRepository, serviceRepository: ERROR CLASS: Symbol not found for ServiceRepository, packetRepository: ERROR CLASS: Symbol not found for PacketRepository, uiPrefs: ERROR CLASS: Symbol not found for UiPrefs, customEmojiPrefs: ERROR CLASS: Symbol not found for CustomEmojiPrefs, homoglyphEncodingPrefs: ERROR CLASS: Symbol not found for HomoglyphPrefs, meshServiceNotifications: ERROR CLASS: Symbol not found for MeshServiceNotifications, sendMessageUseCase: ERROR CLASS: Symbol not found for SendMessageUseCase)
Properties
Link copied to clipboard
Link copied to clipboard
val contactSettings: ERROR CLASS: Symbol not found for StateFlow<kotlin/collections/Map<kotlin/String, ERROR CLASS: Symbol not found for ContactSettings>>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun clearUnreadCount(contact: String, messageUuid: Long, lastReadTimestamp: Long): ERROR CLASS: Unresolved name: launch
Link copied to clipboard
Link copied to clipboard
fun getMessagesFlow(contactKey: String, limit: Int? = null): ERROR CLASS: Symbol not found for Flow<kotlin/collections/List<ERROR CLASS: Symbol not found for Message>>
Returns a non-paged reactive Flow of messages for a conversation. Used by desktop targets that don't use paging-compose.
Link copied to clipboard
fun getMessagesFromPaged(contactKey: String): ERROR CLASS: Symbol not found for Flow<ERROR CLASS: Symbol not found for PagingData<ERROR CLASS: Symbol not found for Message>>
Link copied to clipboard
Sends a message to a contact or channel.
Link copied to clipboard
fun sendReaction(emoji: String, replyId: Int, contactKey: String): ERROR CLASS: Unresolved name: launch
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard