How can I programmatically check whether Dictation is enabled in tvOS? - tvos

Is there any way to programmatically check whether dictation is enabled in tvOS (Siri remote)?

This is not yet possible in tvOS, nor in iOS.
For more information, check out the documentation of UITextInput.

Related

Is it possible to disable "Try it" functionality on API Management Developer Portal?

I'm working to customize APIM Dev Portal and I dont want allow user use 'Try it' functionality so How to disable it ?
There is no straightforward way of doing that, either create a custom widget to hid it https://learn.microsoft.com/en-us/azure/api-management/developer-portal-extend-custom-functionality#create-and-upload-custom-widget or self host the portal and customize it the way you want

Enable "Allow less secure apps" programmatically?

Is there a to enable "Allow less secure apps" for domain users using Google Apps Script? I browsed the G Suite Admin SDK reference but couldn't find anything. There's ResolvedAppAccessSettings: ListTrustedApps in Directory API > Security, but it's not what I wanted.
Thanks.
Unfortunately there is none. You can check this FAQ Allow or disallow less secure apps to access accounts and there is no mention of programatically way of doing this.
However, you may try to check the workaround in this google forum if it works for you.
This might not answer fully but Just to let everybody know that less secure apps module (https://myaccount.google.com/u/0/lesssecureapps) is deprecated.
A new option - apppasswords is available to get authentication done via following link.
https://myaccount.google.com/u/0/apppasswords
Use 16 digit code provided by google instead of password and that should be it.
Note: 2-factor authentication needed to be enabled before proceeding.

How do I make an option page in a Chrome (non-legacy) packaged app?

Some time ago, there were still Chrome-packaged legacy apps which could make options-pages. I want to use the option-page in my Chrome app, but when I try to use it, the extension page shows:
''options_page' is only allowed for extensions, hosted apps, and legacy packaged apps, but this is a packaged app'.
How can I use an options-page or something of the kind to store and read settings for my app?
As the message above, you need to create an "option page" by yourself for the Chrome Apps. Also, you can use following features to store each value for the "option page":
chrome.storage.sync
chrome.storage.local
HTML5 Local Storage
Storing each value into your backend server via Ajax
Other solutions...
That is, you should implement the feature for providing the "option page" by yourself, including a page creation, each event handling and storing each setting value.

Determining if an extension was installed through Chrome Web Store or not

I noticed that in chrome://extensions you can see a "Not from Chrome Web Store" message under extensions that were installed through, e.g. drag and drop into the extensions page. Screenshot of what I am talking about:
I was wondering if there is any way of getting that information from an extension API? I have played with the chrome.extensions.management API, but the only information that gives is the installType field, which is 'normal' for both Web Store and drag and drop installs. - https://developer.chrome.com/extensions/management#type-ExtensionInfo
Am I missing something, or will we just have to wait for an update to the management API?
Could you simply check if the updateUrl property is equal to https://clients2.google.com/service/update2/crx? I believe extensions in the Chrome Web Store must have that update URL, but I'm not sure about the other way around.
Either you install by drag-and-drop or you install form web store, both are called normal install type. Ultimately, you are trying to install the .CRX file, so it means it's a normal install type. Here is the help article. Search for "installType" and read description for "normal" in mentioned article.

Google Chrome Extension - Programmatically Open Popup

When you make a Google Chrome Extension you can choose to have a "Default_Popup", is there any way to programmatically open the popup?
There is no direct way to open the popup programmatically. However, if you're looking to open it based on a keyboard shortcut, you can use the commands API with the _execute_browser_action command (the API is currently available on the beta channel only).
There is an API, chrome.browserAction.openPopup(function callback), that will hopefully be available soon. Please star this bug: https://code.google.com/p/chromium/issues/detail?id=436489