MonoTouch.JavaScriptCore.JSVirtualMachine Class
The JavaScript Virtual Machine, allowing explicit reference-management.

See Also: JSVirtualMachine Members

Syntax

[MonoTouch.Foundation.Register("JSVirtualMachine", true)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_7_0)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.Mac_10_0 | MonoTouch.ObjCRuntime.Platform.Mac_10_1 | MonoTouch.ObjCRuntime.Platform.Mac_10_2 | MonoTouch.ObjCRuntime.Platform.Mac_10_3 | MonoTouch.ObjCRuntime.Platform.Mac_10_4 | MonoTouch.ObjCRuntime.Platform.Mac_10_5 | MonoTouch.ObjCRuntime.Platform.Mac_10_6 | MonoTouch.ObjCRuntime.Platform.Mac_10_7 | MonoTouch.ObjCRuntime.Platform.Mac_10_8 | MonoTouch.ObjCRuntime.Platform.Mac_10_9 | MonoTouch.ObjCRuntime.Platform.Mac_10_10 | MonoTouch.ObjCRuntime.Platform.Mac_Version | MonoTouch.ObjCRuntime.Platform.Mac_Arch64 | MonoTouch.ObjCRuntime.Platform.Mac_Arch)]
public class JSVirtualMachine : MonoTouch.Foundation.NSObject

Remarks

This class can be used by application developers to add and remove references to .NET objects, thus preventing the JavaScript VM from garbage-collecting plugins.

The MonoTouch.JavaScriptCore.JSVirtualMachine is the unit of locking granularity for multithreaded JavaScript.

Requirements

Namespace: MonoTouch.JavaScriptCore
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0