예제 #1
0
 private void SendMessageToSpecificDevice(DeviceVM device)
 {
     try
     {
         device.SendMessageAsync();
     }
     catch (Exception ex)
     {
         throw;
     }
 }
예제 #2
0
        public bool MaketheAPICall(DeviceVM device)
        {
            // InitializeService(data);
            //Send();

            // SendMessageToSpecificDevice(RegToken);
            //SendNotificationToSpecificDevice(device.FCMToken);
            SendMessageToSpecificDevice(device);
            // SendFirebaseTopics();
            //SendFirebaseTopicNotification();

            return(true);
        }