TISGetInputSourceProperty documentation

Hi,

I am trying to find the current keyboard layout for which I used this code

TISGetInputSourceProperty(TISCopyCurrentKeyboardInputSource(), kTISPropertyInputSourceID);

but I could not find any documentation for TISGetInputSourceProperty() or TISCopyCurrentKeyboardInputSource() causing me to doubt if those are public APIs.

We are thinking If this API is not public and we still use it in our Java SDK, it may affect applications (that use Java SDK) which are distributed via AppStore and could affect notarization.


Could someone please point me to the documentation of these APIs and also ascertain if these 2 APIs are public and could be used in our code without any problem?


Regards

Prasanta

PS: I could find a link in a post https://developer.apple.com/library/mac/documentation/TextFonts/Reference/TextInputSourcesReference/#//apple_ref/c/func/TISGetInputSourceProperty

in https://github.com/microsoft/node-native-keymap/blob/master/src/keyboard_mac.mm

which seems to suggest that documentation existed some time back but removed now. Is it intentional? does apple not want user to use this API?


Regards

Prasanta

Replies

Can anyone please reply...Where the documentation of public API TISGetInputSourceProperty been moved?

I was hoping since this a developer forum, people will know..I have alreadfy asked this in discussion forum where it was told to ask in developer forum.

I use this API too on my macOS application.
Can someone from Apple support tell us where the documentation related to this API has been moved ?