1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-22 13:52:58 +00:00

MailboxID enum now provided directly the URI

This commit is contained in:
Loic Blot
2016-10-22 19:11:37 +02:00
parent 792b6137fd
commit 92713ded76
2 changed files with 17 additions and 37 deletions
@@ -26,8 +26,12 @@ package fr.unix_experience.owncloud_sms.enums;
*/
public enum MailboxID {
INBOX,
SENT,
DRAFTS,
ALL,
INBOX("content://sms/inbox"),
SENT("content://sms/sent"),
DRAFTS("content://sms/drafts"),
ALL("content://sms");
MailboxID(final String uri) { this.uri = uri; }
private final String uri;
public String getURI() { return this.uri; }
}