Getting information about all devices connected to iCloud

There is a class in UIKit representing current device called UIDevice. However, I need for my application to know the battery level of other devices. This can be seen in the Find My app for example. Is there a possibility of obtaining information about all devices connected to iCloud in my app?