jpEventQueue

jpEventQueue

Send events from native code of plugin or main project
Version : 2.0
Price : Free
androidtvosipadiphone

Downloads

Changelog

v2.0

  • Now compatible with Apple TV
  • Now compatible with ShiVa 2.0.

v1.7

  • Fixed a compilation issue with the tvOS binary

v1.6

  • tvOS support

v1.5

  • Sending events to objects on Android is now supported

v1.4

  • Fixed a crash in massive multi-threaded context on iOS.

v1.3

  • iOS: Fixed a crash that occured in a particular situation when sending an event to an object.

v1.2

  • Optimized for ShiVa 1.9.2

v1.1

  • iOS library now universal (device+simulator)
  • iOS library now compatible with arm64 architecture (64 bits)

API

--This pack has no LUA API.

Description

This plugin has no lua function. The aim of this plugin is to be able to send events in the Cocoa (iOS) or Java (Android) from any context/thread. If you try to send an event outside of the main context, the application may crash.

If you need to send event from a plugin or a native project (xCode/Eclipse) to a user AIModel, you should think of using jpEventQueue to prevent any application crash due to an event sent in a wrong context.

This plugin is required by other plugins.