How to access the DEVICES list as in the Finder? - objective-c

I try to show a list of computer devices in my application like in the Finder. How can I access this list and also get notified if a device is attached or removed?

To answer your first question (how to access the list of available devices), see this Q&A on StackOverflow.
To get notifications of device availability and removal, see NSWorkspace's notifications.

Related

How do I retrieve the "Audio in" from the api (For example, stereo 2.0, Dolby Digital Plus 5.1)

I'm looking to get some information from the Sonos API but I can't seem to find it.
In the Sonos app on the "About My System" page when you scroll down (And have a device connected to your tv) it shows "Audio in". I want that information from the API. Is that possible?
Hope to hear,
Kind regards,
Namanix
The Audio In field displays the audio format that Sonos home theater speaker is receiving. See Check the audio format in Troubleshooting low audio from surround speakers for details.
The Sonos platform enables the following line-in APIs and capabilities:
Use the loadLineIn command in the playback namespace to change the current group source to the line-in source of a specified player.
View the source type in the container object. Sonos home theater products use the linein.homeTheater type. See container in Playback Objects for details.
Products with line-in capabilities include the LINE_IN capability in the player object. See the groups object for details.
I'm not sure what you're looking for, but the Sonos Play:5 (gen1) has an UPNP service called AudioIn.
If my playbar switches to TV mode (I've turned auto switching on), than the CurrentURI changes to x-sonos-htastream:.......
Instead of building something yourself, you can also check-out this typescript/node library #svrooij/sonos.

I don't want camera permission needed for each video chat when there is a series of 1-1 video chats at an event

I am not a coder and having a web platform built with PHP that includes a series of 1-1 video chats in a scheduled networking "event". The problem that the developer is not able to solve with the video plug in that they are using (https://www.magnoliyan.com/video-chat-pro/) is that the user needs to give camera permisson before each chat. I need this permisson to happen one time only at the beginning of the event and not need there to be any further permission giving throughout the event. Of course I would like this to work on all platforms. I'm exploring agora.io as an option to solve this and replace the current plug in with agora. Does anyone know if agora would be the right fit for this or which video chat platform I should use to accomplish this? And if there is specific developer kind of language or code - please speak in as if I was a developer and I will pass on what you say to him directly. You don't need to worry about whether I will understand it.
Thanks!
Jon
Agora.io like any other WebRTC provider requests device camera permission only once. And all subsequent Videocall won't need any special permission (provided that they are on the same domain)
More specifically, Agora.io requests browser permission when stream.init method is invoked. This also turns on the camera light. stream.close turns off the camera light and deallocates the resources.
However, the subsequent stream.init function calls do not require permissions. (Camera light will just turn on)
References:
stream.init: https://docs.agora.io/en/Video/API%20Reference/web/interfaces/agorartc.stream.html#init
stream.close: https://docs.agora.io/en/Video/API%20Reference/web/interfaces/agorartc.stream.html#close

Include device information in "Export Ids"

In the Crashlytics tab in the Fabric dashboard, I can filter issues by device and OS. However, when I click on an issue it seems that I see all issues for all devices and OSes, and when I export IDs I get all IDs, not filtered, and don't get any device information in that list. Is there a way to get just the IDs for the devices and OSes for which I filtered, or to include device and OS information in the exported IDs?
We don't have Answers/Events setup, so that information isn't there. We also don't have any custom keys for sending Android device information.
Mike from Fabric here. No, there is not a way to apply the OS and Device filters to the list of User Ids currently. Will let the team know you'd like this added.

BlackBerry Cascades sending email without user interaction

i would like to send email without user interaction...means user just need to press a button and mail automatically get send to the particular person....
and also how to get information like device id, OS version , currently running/installed apps in blackberry z10?
if any body know about this please reply with code or some good example.
Most of the documentation for Cascades is available from BlackBerry (Cascades API) with details for all of your items:
Sending Email/Messages: http://developer.blackberry.com/cascades/documentation/device_platform/pim/messages.html
Device ID/PIN/Serial: http://developer.blackberry.com/cascades/reference/bb_device_hardwareinfo.html#property-pin
OS Version/Platform Info: http://developer.blackberry.com/cascades/reference/platform_info.html
Hardware Info: http://developer.blackberry.com/cascades/reference/bb_device_hardwareinfo.html
Installed/Running Apps: (haven't found yet, it might not be available)
Location: http://developer.blackberry.com/cascades/reference/location.html
BBM: http://developer.blackberry.com/cascades/reference/app_integration_bbm.html
etc.
For any items not currently available they can be tracked in the public Cascades Roadmap.
(bear with me, I'm linking in all the items 1 by 1)

Is NSUbiquitousKeyValueStore certified to work without a connection?

The documentation doesn't seem very clear about this, but can I rely on NSUbiquitousKeyValueStore to persist data locally when the device is not connected, or should I also use a NSUserDefaults?
From the iCloud design doc with regards to Key Value storage
Always effectively available. If a device is not attached to an account, changes created on the device are pushed to iCloud as soon as the device is attached to the account.
(in the table at the bottom of the page)