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 (versionStrString) → number inner

Convert a semantic version x.xx.xx.xxxx to the integer for comparision

Arguments:

Types

# NMFeatureConfig inner

Native messages feature description

Properties

  • host string

    NativeMessages host

  • UIName string

    Name showed to user for feature install/update message. Will be translated using UB.i18n

  • minVersion string

    Minimal supported feature version.

  • installer string

    URL for downloading feature installer

  • libraryName opt string

    In 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)