public async Task ReceiveNotificationAsync(string content) { ConnectedDevicesNotification notification = ConnectedDevicesNotification.TryParse(content); if (notification != null) { await m_platform.ProcessNotificationAsync(notification); } }
public async Task ReceiveNotificationAsync(string content) { ConnectedDevicesNotification notification = ConnectedDevicesNotification.TryParse(content); if (notification != null) { await m_platform.ProcessNotificationAsync(notification); // Wait for 15 seconds for platform to process to notification await Task.Delay(TimeSpan.FromSeconds(15)); } }