Migrate services and receivers to data package

This commit is contained in:
Moez Bhatti
2018-05-29 11:11:38 -04:00
parent 554791db49
commit c0968e4b42
35 changed files with 323 additions and 200 deletions
@@ -20,6 +20,7 @@ package repository
import io.reactivex.Maybe
import io.realm.RealmResults
import model.Attachment
import model.Conversation
import model.Message
import model.MmsPart
@@ -100,6 +101,8 @@ interface MessageRepository {
*/
fun sendSms(message: Message)
fun sendMms(threadId: Long, addresses: List<String>, body: String, attachments: List<Attachment>)
/**
* Attempts to cancel sending the message with the given id
*/