示例#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);
        }