public static MyFirebaseIIDService Getinstance()
 {
     if (instance == null)
     {
         instance = new MyFirebaseIIDService();
     }
     return(instance);
 }
Beispiel #2
0
        public void UnregisterDevice()
        {
            MyFirebaseIIDService ns = MyFirebaseIIDService.Getinstance();

            ns.UnregisterReceiverAsync();
        }
Beispiel #3
0
        public void RegisterDevice()
        {
            MyFirebaseIIDService ns = MyFirebaseIIDService.Getinstance();

            ns.RegisterDevice(null);
        }
 public MyFirebaseIIDService()
 {
     instance = this;
 }