event
object will be accessible in the script with the following properties:application_opened
)5e8ce5bfab9f8886b63d318a
)event
object will be accessible in the script with any of the properties that would be normally be associated with the event being called. skylight.openView
in a client-side script.Open view
action.Navigate Back
action on the smart glasses client (e.g. swipe-down on Glass EE2 or a long-press on the select button on Vuzix M400).view_opened
)5e8ce5bfab9f8886b63d318a
)root
)skylight.closeView
.view_closed
)5e8ce5bfab9f8886b63d318a
)root
)bluetooth_input
)5e8ce5bfab9f8886b63d318a
)root
)01429391
)skylight.voice.command.add
is recognized.voice_command_recognized
)5e8ce5bfab9f8886b63d318a
)root
)card_selected
)5e8ce5bfab9f8886b63d318a
)root
)a73a32cc-3783-4d02-bb30-7e0ea4ab1ff4
)if
block simply checks to make sure that the action adapter event is supported on the device. See Feature Status to get a list of Skylight versions that support action adapter events.event.event
property in the action script. The following is a console log of the event
object in an action script that was called by selecting the event returned from the action adapter example above:event
object has a property called event
, which is the event returned by the action adapter. In this example, we show that the additional property (called additionalProperty
that was added in the adapter is also passed through).