Posts

Post not yet marked as solved
0 Replies
445 Views
Hi, I am working on enhancing iPad Application where in I would like to understand if there is a API available for below : Any API provided by Apple to know Siri Settings. (Is Siri Enabled or Disabled) Any API provided by Apple to Enable or Disable Siri from application. I have gone through all the developer documentation available for Sirikit and I don't see any API for my requirement. Technology I prefer : Xamarin.IOS. (I would like to know if API is available in any other language as well) Reason why I am looking for Siri APIS : My application is medical application and there is a chance Siri assistant is invoked accidentally and interferes app functionality. If I am able to access these APIs during app launch, I would notify user to disable Siri for better experience with application. Note : I would like to use these APIS only when my App is up and running. Let me know if you need more details. Thanks
Posted Last updated
.
Post not yet marked as solved
0 Replies
460 Views
I am working on a Application which requires to identify list of bluetooth paired devices connected to Ipad. I have used scanforperipherals(withServices:nil) in CoreBluetooth framework but I see state is always disconnected even though device is connected to iPad. output : <CBPeripheral: 0x281d000, identifier = 31EADDCE-5DBC-E57F-84DB-1488C20460F9, name = AirPods Pro, mtu = 0, state = disconnected> Later used Retrieveconnectedperipherals method (https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518924-retrieveconnectedperipherals ) and tried to fetch the Bluetooth connected devices list. But this method mandates to provide ServiceUUID list of the devices that needs to be fetched which doesn't help me as I need to fetch all devices list. I understand EAAccessoryManager framework gets the list of MFI devices but it mandates to provide protocol names of devices. let connectedDevices = EAAccessoryManager.shared().connectedAccessories as? [EAAccessory] Would like to know if there is any way to fetch the list/count of Bluetooth devices connected to iPad without providing UUIDs/Protocol names. Thanks in advance! Let me know if any other information is required.
Posted Last updated
.
Post not yet marked as solved
1 Replies
1k Views
I am working on a Application which requires to identify whether any airpods are connected to Ipad. I have used retrieveConnectedPeripherals(withServices:) in CoreBluetooth framework (https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518924-retrieveconnectedperipherals ) and tried to fetch the bluetooth connected devices list. But this method mandates to provide ServiceUUID list of the devices that needs to be fetched. Based on available information on various forums , I tried to used below UUIDS for fetching bluetooth connected airpods from this doc (https://www.bluetooth.com/specifications/assigned-numbers) but none of them worked for me. retrieveConnectedPeripherals() returns empty list everytime eventhough airpods are connected to Ipad during testing. Audio Stream Control service 0x184E, Automation IO service 0x1815, Broadcast Audio Announcement service 0x1852, Broadcast Audio Scan service 0x184F, Common Audio service 0x1853, Generic Media Control service 0x1849, Media Control service 0x1848, Microphone Control service 0x184D, Volume Control service 0x1844, Audio Input Control service 0x1843 Other UUIDs tried : 0x1108 0x1112 0x111E 0x111F Would like to know correct UUID for apple Airpods. Thanks in advance! Let me know if any other information is required.
Posted Last updated
.