1package eu.siacs.conversations.services;
2
3import eu.siacs.conversations.entities.Account;
4import eu.siacs.conversations.entities.Conversation;
5
6public class PushManagementService {
7
8 protected final XmppConnectionService mXmppConnectionService;
9
10 public PushManagementService(XmppConnectionService service) {
11 this.mXmppConnectionService = service;
12 }
13
14 void registerPushTokenOnServer(Account account) {
15 //stub implementation. only affects playstore flavor
16 }
17
18 void registerPushTokenOnServer(Conversation conversation) {
19 //stub implementation. only affects playstore flavor
20 }
21
22 void unregisterChannel(Account account, String hash) {
23 //stub implementation. only affects playstore flavor
24 }
25
26 void disablePushOnServer(Conversation conversation) {
27 //stub implementation. only affects playstore flavor
28 }
29
30 public boolean available(Account account) {
31 return false;
32 }
33
34 public boolean isStub() {
35 return true;
36 }
37
38 public boolean availableAndUseful(Account account) {
39 return false;
40 }
41}