Native messaging enables an extension to exchange messages with a native application installed on the user's computer. Read more in MDN Native messaging documentation
Classes
Methods
# versionToNumber (versionStr: String) → number inner
Convert a semantic version x.xx.xx.xxxx
to the integer for comparision
Arguments:
versionStr
: String
Types
# NMFeatureConfig inner
Native messages feature description
Properties
host
: stringNativeMessages host
UIName
: stringName showed to user for feature install/update message. Will be translated using UB.i18n
minVersion
: stringMinimal supported feature version.
installer
: stringURL for downloading feature installer
libraryName
opt : stringIn case client is a secure browser (UnityBase DE) this library is used instead of process to communicate with feature
Events
# notify --> ()
Fired for UBNativeMessage instance when got a notify message. Event can accept 2 args (data: {], messageID: number)