/* * Get the Robot Provider for Android */ public SpheroProviderIOS() : base() { m_PairedSpheros = new Sphero[1]; m_PairedSpheros[0] = new SpheroIOS(); // DO NOT CHANGE THIS UNTIL MULTIPLE ROBOTS ARE USED ON iOS (if ever) m_PairedSpheros[0].DeviceInfo.UniqueId = "Robot"; m_PairedSpheros[0].DeviceInfo.Name = "Robot"; // Sign up for notifications on Sphero connections SpheroDeviceMessenger.SharedInstance.NotificationReceived += ReceiveNotificationMessage; }
/* * Get the Robot Provider for Android */ public SpheroProviderIOS() : base() { m_PairedSpheros = new Sphero[1]; m_PairedSpheros[0] = new SpheroIOS(); // DO NOT CHANGE THIS UNTIL MULTIPLE ROBOTS ARE USED ON iOS (if ever) m_PairedSpheros[0].DeviceInfo.UniqueId = "Robot"; m_PairedSpheros[0].DeviceInfo.Name = "Robot"; // Sign up for notifications on Sphero connections SpheroDeviceMessenger.SharedInstance.NotificationReceived += ReceiveNotificationMessage; }