Пример #1
0
 public static MyFirebaseIIDService Getinstance()
 {
     if (instance == null)
     {
         instance = new MyFirebaseIIDService();
     }
     return(instance);
 }
Пример #2
0
        public void UnregisterDevice()
        {
            MyFirebaseIIDService ns = MyFirebaseIIDService.Getinstance();

            ns.UnregisterReceiverAsync();
        }
Пример #3
0
        public void RegisterDevice()
        {
            MyFirebaseIIDService ns = MyFirebaseIIDService.Getinstance();

            ns.RegisterDevice(null);
        }
Пример #4
0
 public MyFirebaseIIDService()
 {
     instance = this;
 }